Error Reading Status Line From Remote Server Apache
Contents |
href="../mod/mod_proxy.html">mod_proxy Status:Extension Module Identifier:proxy_http_module Source File:mod_proxy_http.c Summary This module requires the service of (20014)internal error proxy error reading status line from remote server mod_proxy. It provides the features used for proxying HTTP
Proxy-initial-not-pooled
and HTTPS requests. mod_proxy_http supports HTTP/0.9, HTTP/1.0 and HTTP/1.1. It does not provide error reading status line from remote server localhost any caching abilities. If you want to set up a caching proxy, you might want to use the additional service of the mod_cache end of file found proxy error reading status line from remote server module. Thus, in order to get the ability of handling HTTP proxy requests, mod_proxy and mod_proxy_http have to be present in the server. Warning Do not enable proxying until you have secured your server. Open proxy servers are dangerous both to your network and to the
Ah00898: Error Reading From Remote Server Returned By
Internet at large. Topics Environment Variables Request notes Directives This module provides no directives. Bugfix checklisthttpd changelogKnown issuesReport a bugSee also mod_proxy mod_proxy_connect Comments Environment Variables In addition to the configuration directives that control the behaviour of mod_proxy, there are a number of environment variables that control the HTTP protocol provider. Environment variables below that don't specify specific values are enabled when set to any value. proxy-sendextracrlf Causes proxy to send an extra CR-LF newline on the end of a request. This is a workaround for a bug in some browsers. force-proxy-request-1.0 Forces the proxy to send requests to the backend as HTTP/1.0 and disables HTTP/1.1 features. proxy-nokeepalive Forces the proxy to close the backend connection after each request. proxy-chain-auth If the proxy requires authentication, it will read and consume the proxy authentication credentials sent by the client. With p
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About (104)connection reset by peer: proxy: error reading status line from remote server Us Learn more about Stack Overflow the company Business Learn more about hiring setenv proxy-initial-not-pooled developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question
(70007)the Timeout Specified Has Expired: Proxy: Error Reading Status Line From Remote Server
and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are https://httpd.apache.org/docs/2.4/mod/mod_proxy_http.html voted up and rise to the top Apache as proxy generates failure. up vote 2 down vote favorite 1 We are using apache proxy to enable our application servers to reach specific web sites over the internet. The setup is as follows: application servers --> apache proxy --> Internet website Some of the requests fail with the below error in the application server log:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST nbsp;/link.
Reason: Error reading from remote server
and the below debug log in the apache error.log file: [Mon May 20 09:57:54 2013] [debug] mod_proxy_http.c(56): proxy: HTTP: canonicalising URL //myURL.com [Mon May 20 09:57:54 2013] [debug] proxy_util.c(1506): [client 172.20.101.71] proxy: https: found worker `https://myurl.com/` for `https://myurl.com/link` [Mon May 20 09:57:54 2013] [debug] mod_proxy.c(1015): Running scheme https handler (attempt 0) [Mon May 20 09:57:54 2013] [debug] mod_proxy_http.c(1973): proxy: HTTP: serving URL https://myurl.com/link [Mon May 20 09:57:54 2013] [debug] proxy_util.c(2011): proxy: HTTPS: has acquired connection for (mu=y url) [Mon May 20 09:57:54 2013] [debug] ssl_engine_io.c(1908): OpenSSL: I/O error, 5 bytes expected to read on BIO#136e90 [mem: 190593] [Mon May 20 09:57:54 2013] [debug] proxy_util.c(2067): proxy: connecting https://myurl.com/link to myurl.com:443 [Mon May 20 09:57:54 2013] [debug] proxy_util.c(2193): proxy: connected /link to myurl.com:443 [Mon May 20 09:57:54 2013] [debug] ssl_engine_io.c(1908): OpenSSL: I/O error, 5 bytes expected to read on BIO#136e90 [mem: 190593] [Mon May 20 09:57:54 2013] [info] [client ip] (131)Connection reset by peer: SSL input filter read failed. [Mon May 20 09:57:54 2013] [error] [client ip2] (131)Connectithis post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ mod_proxy error reading status line We're using apache mod_proxy to proxy http://apache-http-server.18135.x6.nabble.com/mod-proxy-error-reading-status-line-td5003910.html requests to jboss servers on different hosts. We've noticed that we're getting sporadic http 502 response codes. In the apache error file, I see LOTS of these errors: [Tue Feb 26 https://bugzilla.redhat.com/show_bug.cgi?id=632407 13:55:49 2013] [error] [client 10.16.0.211] (70014)End of file found: proxy: error reading status line from remote server remotejboss-b [Tue Feb 26 13:55:49 2013] [error] [client 10.16.0.211] proxy: Error reading from remote error reading server returned by /STRService/services/SoapToRestSOAP [Tue Feb 26 13:55:49 2013] [error] [client 10.16.0.211] no acceptable variant: /usr/local/apache2/error/HTTP_BAD_GATEWAY.html.var A bit of digging around, and I find this bug report: https://issues.apache.org/bugzilla/show_bug.cgi?id=37770This bug talks about setting 3 environment variables to resolve the issue. SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 SetEnv from remote server proxy-initial-not-pooled 1 My main problem is that I'm being asked to recreate this in our test environment before promoting this change to the production apache server. Recreating this has proven to be VERY cumbersome. I look at what I can do on both sides of the connection (jboss and apache) to try and recreate the issue. I see things like connection timeout and pool size, etc. Any suggestions on how I might be able to get this to occur in my test area would be GREAT!. Thanks, -mark- --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] Tom Evans-3 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: mod_proxy error reading status line On Wed, Feb 27, 2013 at 2:59 PM, Mark Lybarger <[hidden email]> wrote: > We're using apache mod_proxy to proxy requests to jboss servers on > different hosts. We've noticed that we're getting sporadic http 502 > response codes. In the apache error file, I see LOTS of these errors: > > [T
Format For Printing -XML -Clone This Bug -Last Comment First Last Prev Next This bug is not in your last search results. Bug632407 - proxy: error reading status line from remote server Summary: proxy: error reading status line from remote server Status: CLOSED ERRATA Aliases: None Product: Red Hat Enterprise Linux 5 Classification: Red Hat Component: httpd (Show other bugs) Sub Component: --- Version: 5.5 Hardware: All Linux Priority urgent Severity urgent TargetMilestone: rc TargetRelease: --- Assigned To: Joe Orton QA Contact: Zbysek MRAZ Docs Contact: URL: Whiteboard: Keywords: Depends On: Blocks: 590060 Show dependency tree /graph Reported: 2010-09-09 16:48 EDT by Bryan Mason Modified: 2013-07-03 09:12 EDT (History) CC List: 15 users (show) cww ebenes eliningt gerrit.slomma hampus.lundqvist jagee jcastillo jwest kslinux.team mfiteisa mpoole rhuang tao yasuhiro.ozone zzhou See Also: Fixed In Version: Doc Type: Bug Fix Doc Text: Story Points: --- Clone Of: Environment: Last Closed: 2011-07-21 04:51:20 EDT Type: --- Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Attachments (Terms of Use) log of proxy-server (14.52 KB, text/plain) 2011-08-09 04:04 EDT, Gerrit Slomma no flags Details Add an attachment (proposed patch, testcase, etc.) External Trackers Tracker ID Priority Status Summary Last Updated Apache Bugzilla 37770 None None None Never Groups: None (edit) Description Bryan Mason 2010-09-09 16:48:32 EDT Description of problem: When attempting to access a backend IIS server through an Apache server running mod_proxy, the client receives a 502 error and lines smilar to the following appear in the Apache error log: [error] [client 10.1.2.3] proxy: error reading status line from remote server example.com [error] [client 10.1.2.3] proxy: Error reading from remote server returned by /example Version-Release number of selected component (if applicable): httpd-2.2.3-31.el5_4.4 How reproducible: 100% Steps to Reproduce: 1. Configure mod_proxy to proxy an IIS server 2. Attempt to access the IIS server through mod_proxy Actual results: 502 error Expected results: No error Additional info: This is the same problem as: https://issues.apache.org/bugzilla/show_bug.cgi?id=37770 Although Red Hat Bug 466723 would seem to indicate that this was resolved in RHEL 5.3, the patch included in the Apache Bug is not included in the latest version of the httpd package in RHEL 5. The RHEL 5.3 update to