httpd mod_proxy error: "Connection reset by peer"

Solution Verified - Updated -

Issue

  • Using httpd as the reverse proxy with mod_proxy and Microsoft Internet Information Server (IIS) as the back end, the following error results when accessing from httd, but when accessing IIS directly it is working:
    [error] [client 10.186.12.173] (104)Connection reset by peer: proxy: error reading status line from remote server example.com
    [error] [client 10.186.12.173] proxy: Error reading from remote server returned by /example
    
  • We see this error frequently when using httpd to forward requests to JBoss via mod_proxy.
  • 502 proxy error Reason: Error reading from remote server

Environment

  • JBoss Enterprise Web Server (EWS)
  • Red Hat Enteprise Linux (RHEL)
  • Apache httpd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.