Retrieve Uxtrace fails with CentralConnection.read error
search cancel

Retrieve Uxtrace fails with CentralConnection.read error

book

Article ID: 246875

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

When using a particular UVC Webconsole architecture where there is a frontal Apache server acting like a proxy/reverse proxy in front of a Tomcat server, both configured in SSL mode, the UVC Webconsole is uncapable to generate the uxtrace of a node, producing the error "CentralConnection.read error"

If the proxy/reverse proxy is not used ( like when launching directly the webconsole from the Tomcat in SSL), the issue does not occur, so it is somehow related to this Architecture.

 

Environment

Release : 6.x

Component: Univiewer Webconsole

Environment: Apache acting as proxy/reverse proxy in front of a Tomcat server hosting the Webconsole.

Cause

Configuration issue: missalignment of timeout between UVC Webconsole code (5 minutes) and Apache and Tomcat (1 minute).

Resolution

To fix this problem you should align the timeouts of the Apache and Tomcat accordingly to 5 minutes.

  • Configuration to be done in Apache httpd.conf
Timeout 300
  • Configuration to be done in Tomcat server.xml, please add connectionTimeout="300000" on the http connectors as below:
<Connector port="8080" maxHttpHeaderSize="8192"     maxThreads="150" minSpareThreads="25"     maxPostSize="12582912"     maxHeaderCount="5000"     enableLookups="false" redirectPort="8443" acceptCount="100"     connectionTimeout="300000"     disableUploadTimeout="true" />
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" connectionTimeout="300000" disableUploadTimeout="true"