Proxy Error
am 20.04.2008 15:02:51 von Parag Dhanuka
------=_Part_14284_6874812.1208696571556
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi all,,
I am using an apache server to act as a load balancer to my tomcat server...
I am using reverse proxy for doing this..
The major lines of change in my http conf are these
ProxyRequests Off
Order deny,allow
Deny from all
Allow from all
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
ProxyPass /blah http://localhost:8090/blah
ProxyPassReverse /blah http://localhost:8090/blah
ProxyPass /blah http://localhost:8091/blah
ProxyPassReverse /blah http://localhost:8091/blah
My tomcat server conf has this line added with other appropriate changes
port="8091"
maxKeepAliveRequests="1" protocol="HTTP/1.1"
proxyPort="80"/>
Now I am getting this error in my server logs which I have no idea as to how
to fix
[Sun Apr 20 03:35:57 2008] [error] [client 66.249.85.88] proxy: error
reading status line from remote server localhost
[Sun Apr 20 03:35:57 2008] [error] [client 66.249.85.88] proxy: Error
reading from remote server returned by blah
As soon as this error comes soon I am bombarded with errors like
(111)Connection refused: proxy: HTTP: attempt to connect to
127.0.0.1:8091(localhost) failed
All tht I get on my webserver is a 500 response.... I am lost.... Please
help....I gooogled a lot and added
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
and also removed keepaliverequest from tomcat. but still I soon ended up
getting into this problem :(
--
Parag Dhanuka
------=_Part_14284_6874812.1208696571556
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi all,,
I am using an apache server to act as a load balancer to my tomcat server...
I am using reverse proxy for doing this..
The major lines of change in my http conf are these
<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
Order deny,allow
Deny from all
Allow from all
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Proxy>
ProxyPass /blah
ProxyPassReverse /blah
My tomcat server conf has this line added with other appropriate changes
<Connector className="org.apache.catalina.connector.http.HttpConnector " port="8091"
maxKeepAliveRequests="1" protocol="HTTP/1.1"
proxyPort="80"/>
Now I am getting this error in my server logs which I have no idea as to how to fix
[Sun Apr 20 03:35:57 2008] [error] [client ] proxy: error reading status line from remote server localhost
[Sun Apr 20 03:35:57 2008] [error] [client ] proxy: Error reading from remote server returned by blah
As soon as this error comes soon I am bombarded with errors like
(111)Connection refused: proxy: HTTP: attempt to connect to (localhost) failed
All tht I get on my webserver is a 500 response.... I am lost.... Please help....I gooogled a lot and added
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
and also removed keepaliverequest from tomcat. but still I soon ended up getting into this problem :(
--
Parag Dhanuka
------=_Part_14284_6874812.1208696571556--
Re: Proxy Error
am 20.04.2008 15:21:53 von Parag Dhanuka
------=_Part_14348_617317.1208697713547
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I did a netstat -n and it seems that I am always having arnd 300-400
connections to the port on which tomcat is listening to the proxy
On Sun, Apr 20, 2008 at 6:32 PM, Parag Dhanuka
wrote:
> Hi all,,
>
> I am using an apache server to act as a load balancer to my tomcat
> server...
>
> I am using reverse proxy for doing this..
> The major lines of change in my http conf are these
>
>
> ProxyRequests Off
>
>
> Order deny,allow
> Deny from all
> Allow from all
> SetEnv force-proxy-request-1.0 1
> SetEnv proxy-nokeepalive 1
>
>
> ProxyPass /blah http://localhost:8090/blah
> ProxyPassReverse /blah http://localhost:8090/blah
>
> ProxyPass /blah http://localhost:8091/blah
> ProxyPassReverse /blah http://localhost:8091/blah
>
>
> My tomcat server conf has this line added with other appropriate changes
>
>
> className="org.apache.catalina.connector.http.HttpConnector" port="8091"
> maxKeepAliveRequests="1" protocol="HTTP/1.1"
> proxyPort="80"/>
>
>
> Now I am getting this error in my server logs which I have no idea as to
> how to fix
>
> [Sun Apr 20 03:35:57 2008] [error] [client 66.249.85.88] proxy: error
> reading status line from remote server localhost
> [Sun Apr 20 03:35:57 2008] [error] [client 66.249.85.88] proxy: Error
> reading from remote server returned by blah
>
> As soon as this error comes soon I am bombarded with errors like
> (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:8091(localhost) failed
>
> All tht I get on my webserver is a 500 response.... I am lost.... Please
> help....I gooogled a lot and added
> SetEnv force-proxy-request-1.0 1
> SetEnv proxy-nokeepalive 1
>
> and also removed keepaliverequest from tomcat. but still I soon ended up
> getting into this problem :(
>
> --
> Parag Dhanuka
--
Parag Dhanuka
------=_Part_14348_617317.1208697713547
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I did a netstat -n and it seems that I am always having arnd 300-400 connections to the port on which tomcat is listening to the proxy
On Sun, Apr 20, 2008 at 6:32 PM, Parag Dhanuka <> wrote:
Hi all,,
I am using an apache server to act as a load balancer to my tomcat server...
I am using reverse proxy for doing this..
The major lines of change in my http conf are these
<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
Order deny,allow
Deny from all
Allow from all
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Proxy>
ProxyPass /blah
ProxyPassReverse /blah
ProxyPassReverse /blah
My tomcat server conf has this line added with other appropriate changes
<Connector className="org.apache.catalina.connector.http.HttpConnector " port="8091"
maxKeepAliveRequests="1" protocol="HTTP/1.1"
proxyPort="80"/>
Now I am getting this error in my server logs which I have no idea as to how to fix
[Sun Apr 20 03:35:57 2008] [error] [client ] proxy: error reading status line from remote server localhost
[Sun Apr 20 03:35:57 2008] [error] [client ] proxy: Error reading from remote server returned by blah
As soon as this error comes soon I am bombarded with errors like
(111)Connection refused: proxy: HTTP: attempt to connect to (localhost) failed
All tht I get on my webserver is a 500 response.... I am lost.... Please help....I gooogled a lot and added
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
and also removed keepaliverequest from tomcat. but still I soon ended up getting into this problem :(
--
Parag Dhanuka
--
Parag Dhanuka
------=_Part_14348_617317.1208697713547--
Re: Proxy Error
am 21.04.2008 06:12:22 von Parag Dhanuka
------=_Part_16570_19685999.1208751142354
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Please help someone... The problem is happening every 3 hrs on a live server
:(.... I have writen some script to handle this but cannot really sleep till
this is fix....
Besides I also tried connecting locally to the tomcat instance using wget
localhost:8091 and interestingly the wget just hung without any response
from tomcat.... Is this some weird tomcat issue which I cannot look into....
It is not tht my instance is heavily loaded as it happened also at a time
when traffic was really very low.... :(
Parag.
On Sun, Apr 20, 2008 at 6:51 PM, Parag Dhanuka
wrote:
> I did a netstat -n and it seems that I am always having arnd 300-400
> connections to the port on which tomcat is listening to the proxy
>
>
> On Sun, Apr 20, 2008 at 6:32 PM, Parag Dhanuka
> wrote:
>
> > Hi all,,
> >
> > I am using an apache server to act as a load balancer to my tomcat
> > server...
> >
> > I am using reverse proxy for doing this..
> > The major lines of change in my http conf are these
> >
> >
> > ProxyRequests Off
> >
> >
> > Order deny,allow
> > Deny from all
> > Allow from all
> > SetEnv force-proxy-request-1.0 1
> > SetEnv proxy-nokeepalive 1
> >
> >
> > ProxyPass /blah http://localhost:8090/blah
> > ProxyPassReverse /blah http://localhost:8090/blah
> >
> > ProxyPass /blah http://localhost:8091/blah
> > ProxyPassReverse /blah http://localhost:8091/blah
> >
> >
> > My tomcat server conf has this line added with other appropriate changes
> >
> >
> > className="org.apache.catalina.connector.http.HttpConnector" port="8091"
> > maxKeepAliveRequests="1" protocol="HTTP/1.1"
> > proxyPort="80"/>
> >
> >
> > Now I am getting this error in my server logs which I have no idea as to
> > how to fix
> >
> > [Sun Apr 20 03:35:57 2008] [error] [client 66.249.85.88] proxy: error
> > reading status line from remote server localhost
> > [Sun Apr 20 03:35:57 2008] [error] [client 66.249.85.88] proxy: Error
> > reading from remote server returned by blah
> >
> > As soon as this error comes soon I am bombarded with errors like
> > (111)Connection refused: proxy: HTTP: attempt to connect to
> > 127.0.0.1:8091 (localhost) failed
> >
> > All tht I get on my webserver is a 500 response.... I am lost.... Please
> > help....I gooogled a lot and added
> > SetEnv force-proxy-request-1.0 1
> > SetEnv proxy-nokeepalive 1
> >
> > and also removed keepaliverequest from tomcat. but still I soon ended up
> > getting into this problem :(
> >
> > --
> > Parag Dhanuka
>
>
>
>
> --
> Parag Dhanuka
--
Parag Dhanuka
------=_Part_16570_19685999.1208751142354
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Please help someone... The problem is happening every 3 hrs on a live server :(.... I have writen some script to handle this but cannot really sleep till this is fix....
Besides I also tried connecting locally to the tomcat instance using wget localhost:8091 and interestingly the wget just hung without any response from tomcat.... Is this some weird tomcat issue which I cannot look into.... It is not tht my instance is heavily loaded as it happened also at a time when traffic was really very low.... :(
Parag.
On Sun, Apr 20, 2008 at 6:51 PM, Parag Dhanuka <> wrote:
I did a netstat -n and it seems that I am always having arnd 300-400 connections to the port on which tomcat is listening to the proxyOn Sun, Apr 20, 2008 at 6:32 PM, Parag Dhanuka <> wrote:
Hi all,,
I am using an apache server to act as a load balancer to my tomcat server...
I am using reverse proxy for doing this..
The major lines of change in my http conf are these
<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
Order deny,allow
Deny from all
Allow from all
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Proxy>
ProxyPass /blah
ProxyPassReverse /blah
ProxyPassReverse /blah
My tomcat server conf has this line added with other appropriate changes
<Connector className="org.apache.catalina.connector.http.HttpConnector " port="8091"
maxKeepAliveRequests="1" protocol="HTTP/1.1"
proxyPort="80"/>
Now I am getting this error in my server logs which I have no idea as to how to fix
[Sun Apr 20 03:35:57 2008] [error] [client ] proxy: error reading status line from remote server localhost
[Sun Apr 20 03:35:57 2008] [error] [client ] proxy: Error reading from remote server returned by blah
As soon as this error comes soon I am bombarded with errors like
(111)Connection refused: proxy: HTTP: attempt to connect to (localhost) failed
All tht I get on my webserver is a 500 response.... I am lost.... Please help....I gooogled a lot and added
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
and also removed keepaliverequest from tomcat. but still I soon ended up getting into this problem :(
--
Parag Dhanuka
--
Parag Dhanuka
--
Parag Dhanuka
------=_Part_16570_19685999.1208751142354--
Re: Re: Proxy Error
am 21.04.2008 16:38:28 von Joshua Slive
On Mon, Apr 21, 2008 at 12:12 AM, Parag Dhanuka wrote:
> Please help someone... The problem is happening every 3 hrs on a live server
> :(.... I have writen some script to handle this but cannot really sleep till
> this is fix....
>
> Besides I also tried connecting locally to the tomcat instance using wget
> localhost:8091 and interestingly the wget just hung without any response
> from tomcat.... Is this some weird tomcat issue which I cannot look into....
> It is not tht my instance is heavily loaded as it happened also at a time
> when traffic was really very low.... :(
I can't give you much help on this, but if tomcat is not responding to
HTTP requests, then the problem is with tomcat and not with apache
httpd. Perhaps you'd have better luck asking for debugging help on a
tomcat list.
Joshua.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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
Re: Re: Proxy Error
am 21.04.2008 17:24:58 von Parag Dhanuka
------=_Part_19290_22865264.1208791498849
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
THis however happens after I get tonnes of
[client 66.249.85.88] proxy: error reading status line from remote server
What can this error mean as tomcat logs are not showing any errors
whatsoever :(
On Mon, Apr 21, 2008 at 8:08 PM, Joshua Slive wrote:
> On Mon, Apr 21, 2008 at 12:12 AM, Parag Dhanuka
> wrote:
> > Please help someone... The problem is happening every 3 hrs on a live
> server
> > :(.... I have writen some script to handle this but cannot really sleep
> till
> > this is fix....
> >
> > Besides I also tried connecting locally to the tomcat instance using
> wget
> > localhost:8091 and interestingly the wget just hung without any response
> > from tomcat.... Is this some weird tomcat issue which I cannot look
> into....
> > It is not tht my instance is heavily loaded as it happened also at a
> time
> > when traffic was really very low.... :(
>
> I can't give you much help on this, but if tomcat is not responding to
> HTTP requests, then the problem is with tomcat and not with apache
> httpd. Perhaps you'd have better luck asking for debugging help on a
> tomcat list.
>
> Joshua.
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 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
>
>
--
Parag Dhanuka
------=_Part_19290_22865264.1208791498849
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
THis however happens after I get tonnes of
[client ] proxy: error reading status line from remote server
What can this error mean as tomcat logs are not showing any errors whatsoever :(
On Mon, Apr 21, 2008 at 8:08 PM, Joshua Slive <> wrote:
On Mon, Apr 21, 2008 at 12:12 AM, Parag Dhanuka <> wrote:
> Please help someone... The problem is happening every 3 hrs on a live server
> :(.... I have writen some script to handle this but cannot really sleep till
> this is fix....
>
> Besides I also tried connecting locally to the tomcat instance using wget
> localhost:8091 and interestingly the wget just hung without any response
> from tomcat.... Is this some weird tomcat issue which I cannot look into....
> It is not tht my instance is heavily loaded as it happened also at a time
> when traffic was really very low.... :(
I can't give you much help on this, but if tomcat is not responding to
HTTP requests, then the problem is with tomcat and not with apache
httpd. Perhaps you'd have better luck asking for debugging help on a
tomcat list.
Joshua.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
" from the digest:
For additional commands, e-mail:
--
Parag Dhanuka
------=_Part_19290_22865264.1208791498849--
Re: Re: Proxy Error
am 21.04.2008 17:28:22 von Joshua Slive
On Mon, Apr 21, 2008 at 11:24 AM, Parag Dhanuka wrote:
> THis however happens after I get tonnes of
>
> [client 66.249.85.88] proxy: error reading status line from remote server
>
> What can this error mean as tomcat logs are not showing any errors
> whatsoever :(
That's probably just a symptom of httpd being unable to connect to tomcat.
Joshua.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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
Re: Re: Proxy Error
am 21.04.2008 17:47:07 von Parag Dhanuka
------=_Part_19484_18137958.1208792827144
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Ok will start stress test on tomcat.... its just tht I have low CPU and mem
usage showing <10%.... but still thanks for the reply.... have been in a
mess
:(
On Mon, Apr 21, 2008 at 8:58 PM, Joshua Slive wrote:
> On Mon, Apr 21, 2008 at 11:24 AM, Parag Dhanuka
> wrote:
> > THis however happens after I get tonnes of
> >
> > [client 66.249.85.88] proxy: error reading status line from remote
> server
> >
> > What can this error mean as tomcat logs are not showing any errors
> > whatsoever :(
>
> That's probably just a symptom of httpd being unable to connect to tomcat.
>
> Joshua.
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 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
>
>
--
Parag Dhanuka
------=_Part_19484_18137958.1208792827144
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Ok will start stress test on tomcat.... its just tht I have low CPU and mem usage showing <10%.... but still thanks for the reply.... have been in a mess
:(
On Mon, Apr 21, 2008 at 8:58 PM, Joshua Slive <> wrote:
On Mon, Apr 21, 2008 at 11:24 AM, Parag Dhanuka <> wrote:
> THis however happens after I get tonnes of
>
> [client ] proxy: error reading status line from remote server
>
> What can this error mean as tomcat logs are not showing any errors
> whatsoever :(
That's probably just a symptom of httpd being unable to connect to tomcat.
Joshua.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
" from the digest:
For additional commands, e-mail:
--
Parag Dhanuka
------=_Part_19484_18137958.1208792827144--