Re: Rails' 302 redirect is being converted to 502

From: Alexey Kovyrin <alexey#kovyrin.net>
Date: Tue, 7 Oct 2008 17:32:12 -0400


Here is the dump with two requests (I believe). First one - haproxy, second one - direct.

http://apt.scribd.com/haproxy-bug.cap

On Tue, Oct 7, 2008 at 4:34 PM, Willy Tarreau <w#1wt.eu> wrote:
> Hi Alexey,
>
> On Tue, Oct 07, 2008 at 12:02:22AM -0400, Alexey Kovyrin wrote:
>> Ah, and one more thing. When I look in the logs for this particular
>> request I see the following:
>>
>> 127.0.0.1:44934 [06/Oct/2008:21:44:12.170] scribd.com
>> scribd.com/mongrel01 0/0/0/-1/10 502 820 - - SH-- 0/0/0/0/0 0/0 "GET
>> /word/document_url/6417541 HTTP/1.0"
>>
>> Btw, nginx/lighttpd/apache reverse proxy features work like a charm
>> for this URL...
>
> The problem is typically that the response appeared as truncated. The
> server appeared to close the connection just after the "Status:" header.
> Could you run "tcpdump -s0 -nnvvpi eth0 tcp port 8000 -w bug.cap" during
> the problem and send me the resulting bug.cap ? Either the server really
> closed and we need to find why it closes early when talking to haproxy,
> or it did not close and we have to find why haproxy thought it did.

-- 
Alexey Kovyrin
http://kovyrin.info/
Received on 2008/10/07 23:32

This archive was generated by hypermail 2.2.0 : 2008/10/07 23:46 CEST