On Tue, 2006-07-11 at 17:05 -0400, Russell Norris wrote:
> I've gone through the mailing list archives and looked through all the
> docs I could find but I still can't figure out exactly what's going on
> with my Mongrel that it gives the following error:
> 
> [Timestamp]: BAD CLIENT ( 127.0.0.1): Invalid HTTP format, parsing
> fails
> 
> I'm running Cygwin 1.5.20-1, Ruby 1.8.4, and WinXP. I'd appreciate any
> help on getting it up and running. 

Mongrel uses a very correct parser when processing HTTP 1.1 requests.
If it says "BAD CLIENT" then I've found it's always right.  Not saying
Mongrel's perfect, it's just a bi-product of using a parser generator
based on the RFC's grammar rather than hand-coding.

If you're running Nagios then stop.  Nagios is utter and total garbage
and can barely get the TCP/IP right let alone the HTTP.

If it's something else where you see these then you to reproduce it and
do a protocol dump with Ethereal (it runs on windows).  Once you get the
dump, go to where you see these bad client errors and see if you can do
Analyze->Follow TCP Stream.  This'll tell you exactly what mongrel is
getting and it'll show you what the error is.

I'd be curious to see what's doing the connection.  Let me know.


-- 
Zed A. Shaw
http://www.zedshaw.com/
http://mongrel.rubyforge.org/
http://www.railsmachine.com/ -- Need Mongrel support?

_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to