Error "java.rmi.RemoteException: Timed out trying to connect to test registry" while connecting to Registry

Document ID : KB000004402
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Seeing the error below in workstation while connecting to the registry: 

java.rmi.RemoteException: Timed out trying to connect to test registry tcp://Servername:2010/Registry 

Cause:

The latency from local machine to Registry and LIVE system is high

The recommended turnaround time from any component to Registry's DB is less than 20ms. If the network latency is higher than this, there could be such Timed out errors. 

Resolution:

Permanent solution is to reduce the network latency to DB to keep it below 20ms. 

Enabling the properties below in local.properties will help as a workaround in the mean time. 

lisa.http.timeout.connection=0 
lisa.http.timeout.socket=0 

This sets the waiting time to indefinite.