Summary: | mod_proxy_http randomly fails with 'Error reading from remote server' when connection to backend server is non-SSL | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | Todor Zviskov <todorz> |
Component: | mod_proxy | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | ||
Priority: | P2 | ||
Version: | 2.2.3 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Todor Zviskov
2007-12-14 08:52:31 UTC
Whilst this is a long-standing issue, your report is useful as it tends to support Rudiger's diagnosis of what causes it. Thank you. *** This bug has been marked as a duplicate of 37770 *** (In reply to comment #0) > > everything works correctly 100% of the time. From what I know, mod_proxy cannot > handle persistent SSL backend connections. Is it possible that the non-SSL > backend connections are persistent and that's causing all this? I've tried Yes, this is exactly the reason. SSL backend connections are not persistent whereas non-SSL connections are. > quite a few things, including 'SetEnv force-proxy-request-1.0 1 SetEnv > proxy-nokeepalive 1' without luck. Apache 1.x didn't had this issue. proxy-nokeepalive 1 should really help as it ensures that the backend connection gets closed like in the SSL case. I assume you placed SetEnv proxy-nokeepalive 1 in the wrong place of your config. Where did you place it? |