<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yes, if the failsafe handler is activated, basically an exception thrown in the exception handler, then rails/mongrel returns a 200 code with a response body that contains a 500 error message.<div><br><div><div>On 11/03/2008, at 1:38 AM, James Golick wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Still says 200. Somebody is throwing this error and won't admit to it. I'm guessing it's mongrel, but at this point, I've really got no idea.<br><br><div class="gmail_quote">On Mon, Mar 10, 2008 at 10:28 AM, Igor Sysoev &lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt; wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Mon, Mar 10, 2008 at 10:18:53AM -0400, James Golick wrote:<br> <br> &gt; That's the really weird thing - nothing.<br> &gt;<br> &gt; It seems like maybe my upstream is responding with 200, but actually showing<br> &gt; a 500-style error?<br> <br> </div>You may log $upstream_status in access_log to see an exact upstream status.<br> <div class="Ih2E3d"><br> &gt; On Mon, Mar 10, 2008 at 10:10 AM, Igor Sysoev &lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt; wrote:<br> &gt;<br> &gt; &gt; On Mon, Mar 10, 2008 at 10:06:27AM -0400, James Golick wrote:<br> &gt; &gt;<br> &gt; &gt; &gt; Nothing.<br> &gt; &gt; &gt;<br> &gt; &gt; &gt; I'm thinking now that these must be coming occasionally from my upstream<br> &gt; &gt; &gt; servers.<br> &gt; &gt;<br> &gt; &gt; I mean what do you see in access_log - 500, 502, etc ?<br> &gt; &gt;<br> &gt; &gt; &gt; Thanks for your help<br> &gt; &gt; &gt;<br> &gt; &gt; &gt; On Mon, Mar 10, 2008 at 10:02 AM, Igor Sysoev &lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt; wrote:<br> &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; On Mon, Mar 10, 2008 at 09:55:23AM -0400, James Golick wrote:<br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; &gt; Nginx will always log an error when there's a 500?<br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; Yes, at least I have tried to log them all. The log is single way<br> &gt; &gt; &gt; &gt; to know about the problems.<br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; So what do you see - 500, 502, 503, or 504 ?<br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt; --<br> &gt; &gt; &gt; &gt; Igor Sysoev<br> &gt; &gt; &gt; &gt; <a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br> &gt; &gt; &gt; &gt;<br> &gt; &gt; &gt; &gt;<br> &gt; &gt;<br> &gt; &gt; --<br> &gt; &gt; Igor Sysoev<br> &gt; &gt; <a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br> &gt; &gt;<br> &gt; &gt;<br> <br> </div>--<br> <div><div></div><div class="Wj3C7c">Igor Sysoev<br> <a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br> <br> </div></div></blockquote></div><br></blockquote></div><br></div></body></html>