How to configure server.xml tomcat so that timeout 502 and 504

0

I have an online application that I have been told by clients that in some consultations gives timeout at 2 minutes, they would correspond to errors 502 and 504.

In local I am not able to simulate those errors to be able to solve it. As much as I have configured the server.xml when I try it, I do not skip the timeout.

 <Connector port="8080" protocol="HTTP/1.1"
                disableUploadTimeout="false" connectionTimeout="20000"        maxPostSize="2" maxThreads="4" redirectPort="8443" />
			   

What am I doing wrong? After configuring the server.xml and restarting the tomcat, is there anything else I need to do to make the changes work?

    
asked by BELEN MARTINEZ BARRIO 29.11.2017 в 12:47
source

0 answers