Read timed out exception in log

  • Updated


Contrast Security agent is unable to communicate with the Contast UI. 

Error Messages

The error message that appears on screen is: Read timed out exception Read timed out
at java.base/ Method)
at java.base/
at java.base/
at java.base/

Root Cause

This problem is caused by an environment issue, such as:

 Server is trying to read data from the request, but its taking longer than the timeout value for the data to arrive from the client. Timeout here would typically be tomcat connector -> connectionTimeout attribute.
  • Client has a read timeout set, and server is taking longer than that to respond.
  • This error can happen with high concurrency if the keep alive is enabled.


A possible solution for this problem within the Tomcat web application is to modify the CONTEXT.XML file, and modify the CONNECTOR definition that governs the workstation browser connectivity to the Tomcat server.

    <Connector port="7181" protocol="HTTP/1.1"

Specifically, modify the connectionTimeout value.  Increase this value to suppress the error condition.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request