You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ravi Roy <ra...@gmail.com> on 2013/05/10 12:46:39 UTC

[users@httpd] (20014)Internal error: proxy: error reading status line from remote server

Hi List,

I'm using Apache 2.2.11 on CentOS, arch - x86 as write-through subversion
proxy.

Server version: Apache/2.2.11 (Unix)
Server built:   Apr  10 2010 16:04:54

I have started getting the following error for last few days, which I
really find strange :

(20014)Internal error: proxy: error reading status line from remote server
myhostname.mydomain.com:80

I found some information by googling and I found this thread :
http://serverfault.com/questions/206738/intermittent-error-when-using-mod-proxy-to-do-reverse-proxy-to-soap-service
. As per this thread I added the following in the
httpd.conf of write-throuh proxy :

SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1

But does not help. Also this thread also refers
http://httpd.apache.org/docs/2.2/mod/mod_proxy_http.html and it says :

"proxy-initial-not-pooledIf this variable is set no pooled connection will
be reused if the client connection is an initial connection. This avoids
the "proxy: error reading status line from remote server" error message
caused by the race condition that the backend server closed the pooled
connection after the connection check by the proxy and before data sent by
the proxy reached the backend. It has to be kept in mind that setting this
variable downgrades performance, especially with HTTP/1.0 clients."
I tried to set this environment variable in write-through proxy's
httpd.conf but also of no help.

I would appreciate any pointers on this.

Thank you!

Regards,
Ravi.