Proxy Error Reading Status Line From Remote Server Null
Contents |
Threaded bugzilla at apache Jun26,2006,6:47AM Post #1 of 3 (38073 views) Permalink [Bug 37770] - proxy: error reading status line from remote server (null) DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
Apache Proxy Error Reading Status Line From Remote Server
[at] dorrboel 2006-06-26 13:47 ------- Same problem, here : Configuration : Apache 2.2.2 (with worker MPM) on Solaris 9 proxying to an IIS 6.0 back-end server. No
Proxy-initial-not-pooled
core dump produced. As I understand, truss (see below) shows that the process uses a file (25, in the example below) handle to communicate with the back-end server but does not check whether it is still usable or not. This file handle seems to
(20014)internal Error Proxy
be used from the connection pool ("As of Apache 2.1, the ability to use pooled connections to a backend server is available"). Result from truss : 3313/19: 3.9623 read(25, 0xFDA7B997, 1) Err#131 ECONNRESET 3313/19: 3.9624 write(11, 0xFDA79938, 126) = 126 3313/19: [. M o n J u n 2 6 1 4 : 3 7 : 3 6 2 0 0 6 ] [ d e b u 3313/19: g ] p r o x y _ u t i l . c ( 2 1 4 1 ) : proxypass keepalive p r o x y : H T 3313/19: T P : c o n n e c t i o n c o m p l e t e t o 1 3 6 . 1 3313/19: 7 3 . 2 1 . 2 4 3 : 8 8 8 8 ( e i c i t e s t v s 0 9 )\n 3313/19: 3.9628 writev(25, 0xFDA7B780, 3) Err#32 EPIPE 3313/19: iov_base = 0x003F2278 iov_len = 1057 3313/19: P O S T / E i c i - A D M / A u t h e n t i c a t i o n / u s ... 3313/1: 3.9628 Received signal #13, SIGPIPE, in read() [ignored] 3313/19: 3.9635 write(11, 0xFDA795B8, 123) = 123 3313/19: [. M o n J u n 2 6 1 4 : 3 7 : 3 6 2 0 0 6 ] [ i n f o 3313/19: ] [. c l i e n t 1 3 6 . 1 7 3 . 2 1 . 2 4 3 ] ( 3 2 ) B r 3313/19: o k e n p i p e : c o r e _ o u t p u t _ f i l t e r : w 3313/19: r i t i n g d a t a t o t h e n e t w o r k\n 3313/19: 3.9639 read(25, 0x003D6208, 8000) = 0 3313/19: 3.9641 write(11, 0xFDA77910, 158) = 158 3313/19: [. M o n J u n 2 6 1 4
on ASP.NET 5 Architecting ASP.NET MVC applications Optimizing public facing SharePoint sites Presentation: Brewing Eisbock with Raspberry PI and Windows 10 IoT Deep-Dive to Application Insights Deep-Dive to Azure Search setenv proxy-initial-not-pooled Schedule Contact me 6 02 2009 Apache, IIS and 502 proxy error proxy-nokeepalive Gunnar | IIS | 3 Share this postI have some servers in my network. There is one public Apache ah00898 server that proxies requests to these servers. These servers are not directly visible from internet. Some of these servers run IIS and ASP.NET web applications. When accessing these servers through internet then http://www.gossamer-threads.com/lists/apache/bugs/314332 sometimes Apache reports a problem: 502 proxy error. After some digging in internet I found out what’s going on between Apache and IIS. There is very informative bug report in Apache issue tracker - Bug 37770 - proxy: error reading status line from remote server (null). Comment #17 states reason of error as follows: The problem also only occurs for us when we use http://gunnarpeipman.com/2009/02/apache-iis-and-502-proxy-error/ an IIS backend device, with an apache its ok. From a tcpdump the only diff I can see between the two sessions is that the IIS closes the connection when the keep-alive time out is reached with a TCP RST packet, while the apache does a Fin/Ack handshake. When IIS sends this RST packet the next request to the mod_proxy device that’s hits the worker with the RST connection returns the 502 error msg. So, there is some misunderstandings between Apache proxy stuff and IIS. Although some guys suggest to use very long timeouts and hacks to Apache source code there is very simple fix that works very well for me. Make sure you have mod_env enabled and add these lines to Apache configuration file. SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 After restarting Apache server the communication between Apache and IIS should work fine. After these modifications I have seen no error 502 anymore. Related PostsWindows Azure: Debug and redeploy your web applications quickly Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive Visual Studio 2010
server null From: Date: Sun, 17 May 2009 22:35:21 -0700 PDT https://issues.apache.org/bugzilla/show_bug.cgi?id=37770 --- Comment #95 from Mao Morimoto <[emailprotected]> 2009-05-17 22:35:13 PST --- Was this problem really fixed? I updated my system to 2.2.11, and add new conf lines;