A Task using Oracle Endpoint as a Source or Target is getting stuck at several occasions. Setting DEBUG or monitoring the Oracle server shows that the Client is stuck waiting for response.
Oracle provides a setting called ENABLE=BROKEN, that can enable keepalive functionality on the TCP/IP connection with the Oracle DB Server. This will allow the client to detect the dead connections.
Note that the timeout depends on the operating system's TCP/IP settings. You would usually want to set it to a lower value than default, which in many cases maybe 2hrs.
Solution:
The ENABLE=BROKEN can be enabled in the TNS entry or directly in the connection string as follows:
Example 1 -- Adding the property to the TNS definition on the client
I recommend posting your requirement in the Qlik Replicate forum, where our active product experts and your knowledgeable Qlik peers are better able to assist you.