httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathias Adler <math...@adler.nu>
Subject [users@httpd] ReversProxy Problem
Date Sat, 04 Nov 2006 21:21:28 GMT
Hi experts,

I'm runnig Apache 2.2.3 on CentOS 4.4 with the following proxy settings:

#ProxyReverse Settings
ProxyRequests off
ProxyPass / http://172.22.1.15:8080/
ProxyPassReverse / http://172.22.1.15:8080/


The problem is that I get the following error for maybe  10% of the  
connections.

"Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /Default.aspx.

Reason: Error reading from remote server"


If I reload the page it works again...
See the debug output:

Not working:
[Fri Nov 03 21:06:23 2006] [debug] mod_proxy_http.c(54): proxy: HTTP:  
canonicalising URL //172.22.1.15:8080/Login.aspx
[Fri Nov 03 21:06:23 2006] [debug] proxy_util.c(1378): [client  
192.168.14.24] proxy: http: found worker http://172.22.1.15:8080/ for  
http://172.22.1.15:8080/Login.aspx?ReturnUrl=%2fDefault.aspx,  
referer: http://192.168.10.100/Login.aspx?ReturnUrl=%2fDefault.aspx
[Fri Nov 03 21:06:23 2006] [debug] mod_proxy.c(756): Running scheme  
http handler (attempt 0)
[Fri Nov 03 21:06:23 2006] [debug] mod_proxy_http.c(1662): proxy:  
HTTP: serving URL http://172.22.1.15:8080/Login.aspx?ReturnUrl=% 
2fDefault.aspx
[Fri Nov 03 21:06:23 2006] [debug] proxy_util.c(1798): proxy: HTTP:  
has acquired connection for (172.22.1.15)
[Fri Nov 03 21:06:23 2006] [debug] proxy_util.c(1858): proxy:  
connecting http://172.22.1.15:8080/Login.aspx?ReturnUrl=% 
2fDefault.aspx to 172.22.1.15:8080
[Fri Nov 03 21:06:23 2006] [debug] proxy_util.c(1951): proxy:  
connected /Login.aspx?ReturnUrl=%2fDefault.aspx to 172.22.1.15:8080
[Fri Nov 03 21:06:23 2006] [debug] proxy_util.c(2141): proxy: HTTP:  
connection complete to 172.22.1.15:8080 (172.22.1.15)
[Fri Nov 03 21:06:23 2006] [info] [client 172.22.1.15] (32)Broken  
pipe: core_output_filter: writing data to the network
[Fri Nov 03 21:06:23 2006] [error] [client 192.168.14.24] proxy:  
error reading status line from remote server 172.22.1.15, referer:  
http://192.168.10.100/Login.aspx?ReturnUrl=%2fDefault.aspx
[Fri Nov 03 21:06:23 2006] [error] [client 192.168.14.24] proxy:  
Error reading from remote server returned by /Login.aspx, referer:  
http://192.168.10.100/Login.aspx?ReturnUrl=%2fDefault.aspx
[Fri Nov 03 21:06:23 2006] [debug] proxy_util.c(1816): proxy: HTTP:  
has released connection for (172.22.1.15)




Working:
[Fri Nov 03 21:11:16 2006] [debug] mod_proxy_http.c(54): proxy: HTTP:  
canonicalising URL //172.22.1.15:8080/Login.aspx
[Fri Nov 03 21:11:16 2006] [debug] proxy_util.c(1378): [client  
192.168.14.24] proxy: http: found worker http://172.22.1.15:8080/ for  
http://172.22.1.15:8080/Login.aspx?ReturnUrl=%2fDefault.aspx,  
referer: http://192.168.10.100/Login.aspx?ReturnUrl=%2fDefault.aspx
[Fri Nov 03 21:11:16 2006] [debug] mod_proxy.c(756): Running scheme  
http handler (attempt 0)
[Fri Nov 03 21:11:16 2006] [debug] mod_proxy_http.c(1662): proxy:  
HTTP: serving URL http://172.22.1.15:8080/Login.aspx?ReturnUrl=% 
2fDefault.aspx
[Fri Nov 03 21:11:16 2006] [debug] proxy_util.c(1798): proxy: HTTP:  
has acquired connection for (172.22.1.15)
[Fri Nov 03 21:11:16 2006] [debug] proxy_util.c(1858): proxy:  
connecting http://172.22.1.15:8080/Login.aspx?ReturnUrl=% 
2fDefault.aspx to 172.22.1.15:8080
[Fri Nov 03 21:11:16 2006] [debug] proxy_util.c(1951): proxy:  
connected /Login.aspx?ReturnUrl=%2fDefault.aspx to 172.22.1.15:8080
[Fri Nov 03 21:11:16 2006] [debug] proxy_util.c(2045): proxy: HTTP:  
fam 2 socket created to connect to 172.22.1.15
[Fri Nov 03 21:11:16 2006] [debug] proxy_util.c(2141): proxy: HTTP:  
connection complete to 172.22.1.15:8080 (172.22.1.15)
[Fri Nov 03 21:11:16 2006] [debug] mod_proxy_http.c(1448): proxy:  
start body send
[Fri Nov 03 21:11:16 2006] [debug] mod_proxy_http.c(1537): proxy: end  
body send
[Fri Nov 03 21:11:16 2006] [debug] proxy_util.c(1816): proxy: HTTP:  
has released connection for (172.22.1.15)



 From what I can see I get "Broken pipe: core_output_filter: ..."  
when it goes wrong and I never get the "proxy: HTTP: fam 2 socket  
created to connect to 172.22.1.15"


Can anybody help me figure out what the problem is??


Regards
MAD

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message