RE: [users@httpd] proxy: error reading status line from remote server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I know that there have been problems with KeepAlive and IE when using https, but not between Apache and IIS.

Would you by any chance know what the IIS KeepAlive timeout is? Might it possibly be shorter than the Apache KeepAliveTimeout ? Does this only happen on "long" requests (timeout of the backend connection)?

When you disable proxy keepalive, the problem will never occur since a new tcp connection is established for every request.

-ascs


-----Original Message-----
From: Marco Berizzi [mailto:pupilla@xxxxxxxxxxx] 
Sent: Wednesday, May 17, 2006 3:03 PM
To: users@xxxxxxxxxxxxxxxx
Subject: [users@httpd] proxy: error reading status line from remote server

Hello everybody.
I'm try to build a reverse proxy for outlook web access
2003sp2 running on windows 2003 sp1.
apache 1.3.35 is running good with this configuration:

<VirtualHost *>
    ServerAdmin postmaster@xxxxxxxxxx
    ServerName mail.domain.you

    ErrorLog /var/log/apache/error_http_owa_log

    ProxyPass /exchange http://mail.domain.you/exchange/
    ProxyPassReverse /exchange/ http://mail.domain.you/exchange/
    ProxyPass /exchweb http://mail.domain.you/exchweb/
    ProxyPassReverse /exchweb http://mail.domain.you/exchweb/
    ProxyPass /public http://mail.domain.you/public/
    ProxyPassReverse /public http://mail.domain.you/public/ </VirtualHost>

The same config with apache 2.2.2 doesn't work. I'm getting these errors:

[Wed May 17 14:36:14 2006] [error] [client 172.16.0.118] proxy: error reading status line from remote server mail.domain.you, referer: 
http://mail.domain.you/exchange/lmoggi/?Cmd=navbar
[Wed May 17 14:36:14 2006] [error] [client 172.16.0.118] proxy: Error reading from remote server returned by /exchange/lmoggi/Inbox, referer: 
http://mail.domain.you/exchange/lmoggi/?Cmd=navbar
[Wed May 17 14:36:40 2006] [error] [client 172.16.0.118] proxy: error reading status line from remote server mail.domain.you [Wed May 17 14:36:40 2006] [error] [client 172.16.0.118] proxy: Error reading from remote server returned by /exchange/lmoggi/Inbox/R: cucca figo-7.EML [Wed May 17 14:36:50 2006] [error] [client 172.16.0.118] proxy: error reading status line from remote server mail.domain.you [Wed May 17 14:36:50 2006] [error] [client 172.16.0.118] proxy: Error reading from remote server returned by /exchange/lmoggi/Inbox/R: cucca figo-6.EML

the problem is workarounded adding 'SetEnv proxy-nokeepalive 1' to the virtualhost section, or removing the flag 'Enable HTTP Keep-Alives' in the IIS manager on windows 2003.
Is there any incompatibilities between
windows 2003sp1 and mod_proxy from apache
2.2.2 with keepalive=on?
Why apache 1.3.35 is working fine with
windows 2003sp1 and keealive=on?


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux