Re: "502 Bad Gateway" on first request in a setup with Apache 2.4-servers as upstreams

2016-09-13 Thread maltris
hheiko Wrote: --- > I've noticed the same problem between Nginx Proxy (Win) and CentOS > based Apache 2.4 Backends. So I finally changed all backends to > nginx+php-fpm... What version of nginx are you running on Windows? (Asking because I am ju

Re: "502 Bad Gateway" on first request in a setup with Apache 2.4-servers as upstreams

2016-09-12 Thread maltris
The problem still seems to persist. I am now trying to investigate this myself. Any advise for debugging? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268306,269498#msg-269498 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org

"502 Bad Gateway" on first request in a setup with Apache 2.4-servers as upstreams

2016-07-15 Thread maltris
The error I am getting in the logs: "upstream prematurely closed connection while reading response header from upstream" After the first request it works for 10-15 seconds without any problem. According to tcpdump in the first request (the failing one) the upstream is receiving one GET and nothi