Bug 46765 - doubled HTTP header leads to error (Redmine)
Summary: doubled HTTP header leads to error (Redmine)
Status: REOPENED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy (show other bugs)
Version: 2.2.11
Hardware: PC Windows XP
: P2 normal with 3 votes (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-25 05:03 UTC by Chursin Evg
Modified: 2009-05-20 00:22 UTC (History)
1 user (show)



Attachments
traffic dumps by WiresharkPortable (4.20 KB, application/zip)
2009-02-25 05:03 UTC, Chursin Evg
Details
My httpd.exe config and log (3.46 KB, application/zip)
2009-05-20 00:18 UTC, Chursin Evg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chursin Evg 2009-02-25 05:03:46 UTC
Created attachment 23306 [details]
traffic dumps by WiresharkPortable

*Apache 2.11/WinXP*
recently i try to setup "Bitnami REDMINE Stack" on two computers.
on first PC (my notebook) it was successful and just run out of the box.
on second PC (odinary computer) i get error 

502 proxy ERROR

==BEG= redmine.conf ===
ProxyPass /redmine balancer://redminecluster
ProxyPassReverse /redmine balancer://redminecluster

<Proxy balancer://redminecluster>
  BalancerMember http://127.0.0.1:3001/redmine
  BalancerMember http://127.0.0.1:3002/redmine
</Proxy>
==EOF= redmine.conf ===

==BEG= apache-error.log ===
[Mon Feb 16 14:14:52 2009] [error] [client 127.0.0.1] (70014)End of file found: proxy: error reading status line from remote server 127.0.0.1, referer: http://localhost/
[Mon Feb 16 14:14:52 2009] [error] [client 127.0.0.1] proxy: Error reading from remote server returned by /redmine/, referer: http://localhost/
==EOF= apache-error.log ===

the same problem was described at http://bitnami.org/forums/forums/19/topics/457 
but no solution found

so i'v download Wireshark portable and sniff both cases ( good one and one leads to error) 
see "traffic-capture-1(bad).pcap" and "traffic-capture-2(good).pcap"

it seems to syncronization problem or buffer overflow

i use latest Apache from apache.org
i check system for viruses

but i cannot figureout reason of dublication of message header:(
Comment 1 Chursin Evg 2009-05-18 02:55:00 UTC
it seems not intresting to anyone for fix this bug :-(
Comment 2 Chursin Evg 2009-05-19 00:33:07 UTC
i change httpd.conf to
=====
ProxyPass /redmine http://localhost:3002/redmine
#ProxyPassReverse /redmine http://localhost:3002/redmine
===

and error reproduced.

so, i decide that problem in mod_proxy, not in balancer.
Comment 3 William A. Rowe Jr. 2009-05-19 02:16:52 UTC
Fixed in trunk, and proposed for backport.
Comment 4 William A. Rowe Jr. 2009-05-19 09:26:18 UTC
See http://svn.apache.org/viewvc?view=rev&revision=771587
for the patch applied to trunk.
Comment 5 William A. Rowe Jr. 2009-05-19 15:17:44 UTC
Also see
http://people.apache.org/~wrowe/mod_proxy-r771587.zip

for the compiled mod_proxy.so 2.2.12-dev that corresponds to this patch,
simply unpack the zip into apache2.2\modules\.
Comment 6 Chursin Evg 2009-05-20 00:18:46 UTC
Created attachment 23696 [details]
My httpd.exe config and log

on answer to http://svn.apache.org/viewvc?view=rev&revision=771587
Comment 7 Chursin Evg 2009-05-20 00:22:24 UTC
as i undestend, you fix somthing else
because error is still here and nothing changed :(