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

book

Article ID: 4402

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder) CA Service Virtualization (DevTest / LISA / VSE / Application Test)

Issue/Introduction

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. 

Environment

Release: LSASVR99000-9.5-LISA-Server
Component:

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.