Welcome! Log In Create A New Profile

Advanced

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

Aleksandar Lazic
March 04, 2016 05:50AM
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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

upstream prematurely closes cnx => 502 Bad Gateway to client

stefws March 03, 2016 05:10AM

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

stefws March 03, 2016 05:57AM

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

B.R. March 03, 2016 06:54AM

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

stefws March 04, 2016 02:12AM

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

stefws March 04, 2016 05:00AM

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

stefws March 04, 2016 05:00AM

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

Aleksandar Lazic March 04, 2016 05:50AM

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

stefws March 04, 2016 08:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 305
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready