Rays second patrol, 11 December 1943 to 12 January 1944 was in the Celebes-Ambon-Timor area.
On 1 January 1944, SS-271 intercepted two ships with escorts in the mouth of Ambon Bay, Java, and sank converted gunboat Okuyo Maru with three hits.