upstream prematurely closes cnx => 502 Bad Gateway to client

Aleksandar Lazic al-nginx at none.at
Fri Mar 4 10:48:52 UTC 2016


Hi.

Am 04-03-2016 11:00, schrieb stefws:
> stefws Wrote:
> -------------------------------------------------------
>> Seems I'm not alone w/TC issues ;)
> missed the link:
> http://permalink.gmane.org/gmane.comp.web.haproxy/26860

Well Maybe you have a completely different situation.
Is it possible to build a more recent nginx version without the 
additional modules?

Please can you setup the tomcat as described in my answer.

http://permalink.gmane.org/gmane.comp.web.haproxy/26862

####
Please can you try to run the connector with debug on.

http://tomcat.apache.org/tomcat-8.0-doc/logging.html#Using_java.util.logging_%28default%29

I would try to use this.

org.apache.catalina.session.level=ALL
org.apache.coyote.http11.Http11Protocol.level=ALL

Pay attention this will produce a lot entries in the logs and could have
some impact to the performance.

The standard setup have also some low limits maybe you must increase
this limits.

http://tomcat.apache.org/tomcat-8.0-doc/config/http.html#Standard_Implementation
####

Maybe I have missed it but which tomcat version do you use?

Please also setup nginx with debug option as described here

http://nginx.org/en/docs/debugging_log.html

What's the error line(s) on the tomcat site?

Please can you also post the current 'conf/server.xml' with all
'Connector*', thanks.

BR Aleks



More information about the nginx mailing list