Bad Gateway 502 error with Apache mod_proxy and Tomcat

前端 未结 10 1712
北海茫月
北海茫月 2020-12-12 16:24

We\'re running a web app on Tomcat 6 and Apache mod_proxy 2.2.3. Seeing a lot of 502 errors like this:

Bad Gateway! The proxy server received an in

10条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-12 17:02

    I'm guessing your using mod_proxy_http (or proxy balancer).

    Look in your tomcat logs (localhost.log, or catalina.log) I suspect your seeing an exception in your web stack bubbling up and closing the socket that the tomcat worker is connected to.

提交回复
热议问题