Proxy Error 502 “Reason: Error reading from remote server” with Apache 2.2.3

I had a setup of tomcat running on port 8080 and Apache proxying for tomcat on port 80. If I tried to access webapps directly from tomcat on port 8080,. they were accessible, while on port 80, I would get the followig error:

Proxy Error 502 “Reason: Error reading from remote server” with Apache 2.2.3

following fix worked:
adding retry=1 acquire=3000 timeout=600 Keepalive=On
after the Proxy directive in the http configuration.

Comments

  1. Proxy Error
    The proxy server received an invalid response from an upstream server.
    The proxy server could not handle the request GET /chili.

    Reason: Error reading from remote server

    Apache/2.4.7 (Ubuntu) Server at popdesign.online Port 443

    ReplyDelete

Post a Comment

Popular posts from this blog

Errors while trying to monitor Asterisk through Nagios

Configuring remote access for couchdb