Re: mod_proxy, jetty -- (20014)Internal error: proxy: error reading status line
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
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 188.8.131.52] (20014)Internal error: proxy: error reading status line from remote server ………. [Fri Jun 01 17:06:28 2012] [error] [client 184.108.40.206] 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 1Now, 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@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
[Site Home] [Linux ACPI] [Linux Kernel] [Linux Laptop] [Kernel Newbies] [Share Photos] [Security] [Netfilter] [Bugtraq] [Rubini] [Squid] [Photo] [Yosemite Photos] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Samba] [Video 4 Linux] [Device Mapper] [Linux Resources]