Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

mod_proxy, jetty -- (20014)Internal error: proxy: error reading status line

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


oleg.dulin at gmail

Jun 4, 2012, 6:51 AM

Post #1 of 2 (793 views)
Permalink
mod_proxy, jetty -- (20014)Internal error: proxy: error reading status line

We have a configuration as follows:

Apache2 httpd with mod_proxy (2.2.15) in the DMZ
Java server process with embedded Jetty in the secure zone
All calls to the Java server are POST made by an iPad application


The mod_proxy configuration looks like this:

<VirtualHost ……. >
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPass /ls http://jetty:8080/url
ProxyPassReverse /ls http://jetty:8080/url

</VirtualHost>

Sporadically, quite disturbingly it is about every 4th or 5th HTTP
POST, we get this:

502 error sent back to the iPad application and at that moment in the
httpd error log we get this:

[Fri Jun 01 17:06:28 2012] [error] [client 71.197.43.86]
(20014)Internal error: proxy: error reading status line from remote
server ……….
[Fri Jun 01 17:06:28 2012] [error] [client 71.197.43.86] proxy: Error
reading from remote server returned by …..

(URLs obfusaced)

I tried everything under the sun and different combinations of it, with
no luck.

SetEnv proxy-nokeepalive 1
#SetEnv force-proxy-request-1.0 1
SetEnv proxy-initial-not-pooled 1
#SetEnv proxy-sendcl 1

Now, one thing is that in the QA environment there is a firewall and
xinetd in between Apache and Jetty. In dev environment that isn ot the
case, and I haven't tried it in dev yet. But the problem persists in
both places.

I don't believe this is unique to Jetty as I found plenty of discussion
about Tomcat, weblogic, IIS, etc. having this problem.

Any thoughts are greatly appreciated.






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


oleg.dulin at gmail

Jun 7, 2012, 7:52 AM

Post #2 of 2 (736 views)
Permalink
Re: mod_proxy, jetty -- (20014)Internal error: proxy: error reading status line [In reply to]

Ok, problem solved by switching to nginx…. Thank you guys.

On 2012-06-04 13:51:14 +0000, Oleg Dulin said:

> We have a configuration as follows:
>
> Apache2 httpd with mod_proxy (2.2.15) in the DMZ
> Java server process with embedded Jetty in the secure zone
> All calls to the Java server are POST made by an iPad application
>
>
> The mod_proxy configuration looks like this:
>
> <VirtualHost ……. >
> ProxyRequests Off
> ProxyPreserveHost On
> <Proxy *>
> Order allow,deny
> Allow from all
> </Proxy>
> ProxyPass /ls http://jetty:8080/url
> ProxyPassReverse /ls http://jetty:8080/url
>
> </VirtualHost>
>
> Sporadically, quite disturbingly it is about every 4th or 5th HTTP
> POST, we get this:
>
> 502 error sent back to the iPad application and at that moment in the
> httpd error log we get this:
>
> [Fri Jun 01 17:06:28 2012] [error] [client 71.197.43.86]
> (20014)Internal error: proxy: error reading status line from remote
> server ……….
> [Fri Jun 01 17:06:28 2012] [error] [client 71.197.43.86] proxy: Error
> reading from remote server returned by …..
>
> (URLs obfusaced)
>
> I tried everything under the sun and different combinations of it, with
> no luck.
>
> SetEnv proxy-nokeepalive 1
> #SetEnv force-proxy-request-1.0 1
> SetEnv proxy-initial-not-pooled 1
> #SetEnv proxy-sendcl 1
>
> Now, one thing is that in the QA environment there is a firewall and
> xinetd in between Apache and Jetty. In dev environment that isn ot the
> case, and I haven't tried it in dev yet. But the problem persists in
> both places.
>
> I don't believe this is unique to Jetty as I found plenty of discussion
> about Tomcat, weblogic, IIS, etc. having this problem.
>
> Any thoughts are greatly appreciated.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.