<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Could it be a
permission problem? i.e. something's trying to write to an empty log
but doesn't have permission, so dies without telling anyone?</font></font><br>
<br>
James Golick wrote:
<blockquote
 cite="mid:1ab2da820803100833hdfc8e1dm9f0fa4eee25d7ccc@mail.gmail.com"
 type="cite">It isn't. There's absolutely nothing in the production
log. <br>
  <br>
  <div class="gmail_quote">On Mon, Mar 10, 2008 at 11:28 AM, Dave
Cheney &lt;<a moz-do-not-send="true" href="mailto:dave@cheney.net">dave@cheney.net</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 style="">Not that I know of, but the root cause appears to be
an uncaught exception in the exception handler code.
    <div><br>
    </div>
    <div>The failsafe code in dispatcher.rb is utterly obfuscated, one
of the guys in our team has patched it to return 500 properly, but that
hasn't been submitted back to rails core.</div>
    <div><br>
    </div>
    <div>Regardless, the REAL cause of the exception will be in your
production.log.</div>
    <div><br>
    </div>
    <div>Cheers</div>
    <div><br>
    </div>
    <font color="#888888">
    <div>Dave</div>
    </font>
    <div>
    <div class="Wj3C7c">
    <div><br>
    <div>
    <div>On 11/03/2008, at 2:16 AM, James Golick wrote:</div>
    <br>
    <blockquote type="cite">Dave - is there any common reason that
might be happening intermittently on just about any controller/action
combination for an app?<br>
      <br>
      <div class="gmail_quote">On Mon, Mar 10, 2008 at 11:04 AM, An&iacute;bal
Rojas &lt;<a moz-do-not-send="true" href="mailto:anibalrojas@gmail.com"
 target="_blank">anibalrojas@gmail.com</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;">James,<br>
        <br>
&nbsp; &nbsp;As some kind of "last resource"...<br>
        <br>
&nbsp; &nbsp;What about hacking a quick controller to respond with the<br>
offending codes and check how are they being handled?<br>
        <br>
--<br>
        <font color="#888888">An&iacute;bal<br>
        </font>
        <div>
        <div><br>
On Tue, Mar 11, 2008 at 10:08 AM, James Golick &lt;<a
 moz-do-not-send="true" href="mailto:jamesgolick@gmail.com"
 target="_blank">jamesgolick@gmail.com</a>&gt; wrote:<br>
&gt; Still says 200. Somebody is throwing this error and won't admit to
it. I'm<br>
&gt; guessing it's mongrel, but at this point, I've really got no idea.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Mar 10, 2008 at 10:28 AM, Igor Sysoev &lt;<a
 moz-do-not-send="true" href="mailto:is@rambler-co.ru" target="_blank">is@rambler-co.ru</a>&gt;
wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; On Mon, Mar 10, 2008 at 10:18:53AM -0400, James Golick wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; That's the really weird thing - nothing.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; It seems like maybe my upstream is responding with 200,
but actually<br>
&gt; showing<br>
&gt; &gt; &gt; a 500-style error?<br>
&gt; &gt;<br>
&gt; &gt; You may log $upstream_status in access_log to see an exact
upstream<br>
&gt; status.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; On Mon, Mar 10, 2008 at 10:10 AM, Igor Sysoev &lt;<a
 moz-do-not-send="true" href="mailto:is@rambler-co.ru" target="_blank">is@rambler-co.ru</a>&gt;
wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; On Mon, Mar 10, 2008 at 10:06:27AM -0400, James
Golick wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Nothing.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I'm thinking now that these must be coming
occasionally from my<br>
&gt; upstream<br>
&gt; &gt; &gt; &gt; &gt; servers.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I mean what do you see in access_log - 500, 502,
etc ?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Thanks for your help<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; On Mon, Mar 10, 2008 at 10:02 AM, Igor Sysoev
&lt;<a moz-do-not-send="true" href="mailto:is@rambler-co.ru"
 target="_blank">is@rambler-co.ru</a>&gt;<br>
&gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; On Mon, Mar 10, 2008 at 09:55:23AM -0400,
James Golick wrote:<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Nginx will always log an error when
there's a 500?<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Yes, at least I have tried to log them
all. The log is single way<br>
&gt; &gt; &gt; &gt; &gt; &gt; to know about the problems.<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; So what do you see - 500, 502, 503, or
504 ?<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; --<br>
&gt; &gt; &gt; &gt; &gt; &gt; Igor Sysoev<br>
&gt; &gt; &gt; &gt; &gt; &gt; <a moz-do-not-send="true"
 href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &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 moz-do-not-send="true"
 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;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Igor Sysoev<br>
&gt; &gt; <a moz-do-not-send="true" href="http://sysoev.ru/en/"
 target="_blank">http://sysoev.ru/en/</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
        <br>
        </div>
        </div>
      </blockquote>
      </div>
      <br>
    </blockquote>
    </div>
    <br>
    </div>
    </div>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<div
 style="font-family: sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 1.1; font-size-adjust: none; font-stretch: normal; width: 300px; color: rgb(51, 51, 51);">
<p><strong>Phillip B Oldham</strong><br>
The Activity People<br>
<a href="mailto:phill@theactivitypeople.co.uk">phill@theactivitypeople.co.uk</a></p>
<hr size="1">
<p style="font-size: 90%;"><strong>Policies</strong></p>
<p style="font-size: 90%;">This e-mail and its attachments are intended
for the above named recipient(s) only and may be confidential. If they
have come to you in error, please reply to this e-mail and highlight
the error. No action should be taken regarding content, nor must you
copy or show them to anyone.</p>
<p style="font-size: 90%;">This e-mail has been created in the
knowledge that Internet e-mail is not a 100% secure communications
medium, and we have taken steps to ensure that this e-mail and
attachments are free from any virus. We must advise that in keeping
with good computing practice the recipient should ensure they are
completely virus free, and that you understand and observe the lack of
security when e-mailing us.</p>
<hr size="1">
</div>
</div>
</body>
</html>