Wow. Most of what you've said was really over my head. I was just running a quick Mongrel server on my desktop to test/run a Rails app I'm working on. Good news: I don't [know how to] use Nagios. Bad news: I don't [know how to] use Ethereal either. I'm going to investigate it though. I was just running Mongrel and using Firefox to pull up the page. It usually works fine when I'm running the normal Windows Mongrel.
<br><br>You're too smart for me. For real. :)<br><br>Hope Ethereal can give me more clues and thanks for replying so quickly.<br><br><div><span class="gmail_quote">On 7/12/06, <b class="gmail_sendername">Zed Shaw</b> <
<a href="mailto:zedshaw@zedshaw.com">zedshaw@zedshaw.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Tue, 2006-07-11 at 17:05 -0400, Russell Norris wrote:
<br>> I've gone through the mailing list archives and looked through all the<br>> docs I could find but I still can't figure out exactly what's going on<br>> with my Mongrel that it gives the following error:<br>
><br>> [Timestamp]: BAD CLIENT ( <a href="http://127.0.0.1">127.0.0.1</a>): Invalid HTTP format, parsing<br>> fails<br>><br>> I'm running Cygwin 1.5.20-1, Ruby 1.8.4, and WinXP. I'd appreciate any<br>> help on getting it up and running.
<br><br>Mongrel uses a very correct parser when processing HTTP 1.1 requests.<br>If it says "BAD CLIENT" then I've found it's always right. Not saying<br>Mongrel's perfect, it's just a bi-product of using a parser generator
<br>based on the RFC's grammar rather than hand-coding.<br><br>If you're running Nagios then stop. Nagios is utter and total garbage<br>and can barely get the TCP/IP right let alone the HTTP.<br><br>If it's something else where you see these then you to reproduce it and
<br>do a protocol dump with Ethereal (it runs on windows). Once you get the<br>dump, go to where you see these bad client errors and see if you can do<br>Analyze->Follow TCP Stream. This'll tell you exactly what mongrel is
<br>getting and it'll show you what the error is.<br><br>I'd be curious to see what's doing the connection. Let me know.<br><br><br>--<br>Zed A. Shaw<br><a href="http://www.zedshaw.com/">http://www.zedshaw.com/</a><br><a href="http://mongrel.rubyforge.org/">
http://mongrel.rubyforge.org/</a><br><a href="http://www.railsmachine.com/">http://www.railsmachine.com/</a> -- Need Mongrel support?<br><br>_______________________________________________<br>Mongrel-users mailing list<br>
<a href="mailto:Mongrel-users@rubyforge.org">Mongrel-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/mongrel-users">http://rubyforge.org/mailman/listinfo/mongrel-users</a><br></blockquote></div><br>