500: Internal server error (in /conversations) #3023

Closed
andrejpodzimek opened this Issue Mar 18, 2012 · 4 comments

3 participants

@andrejpodzimek

Accessing /conversations can be seen like this in production.log:

Started GET "/conversations" for 127.0.0.1 at 2012-03-18 16:45:35 +0100
  Processing by ConversationsController#index as HTML
Rendered conversations/_conversation.haml (5.5ms)
Rendered conversations/index.haml within layouts/application (19.7ms)
Completed 500 Internal Server Error in 231ms
** [Airbrake] Failure: Net::HTTPClientError
** [Airbrake] Environment Info: [Ruby: 1.9.3] [Rails: 3.0.11] [Env: production]
** [Airbrake] Response from Airbrake: 
<?xml version="1.0" encoding="UTF-8"?>
<errors>
  <error>No project exists with the given API key.</error>
</errors>

ActionView::Template::Error (translation data {:one=>"měsícem", :other=>"%{count} měsíci"} can not be used with :count => 2):
    21: 
    22:         .last_author
    23:           .timestamp
    24:             = t('ago', :time =>  time_ago_in_words(conversation.updated_at))
    25:           - if authors[conversation.id].present?
    26:             = authors[conversation.id].name
    27: 
  lib/i18n_interpolation_fallbacks.rb:10:in `block in translate'
  lib/i18n_interpolation_fallbacks.rb:8:in `each'
  lib/i18n_interpolation_fallbacks.rb:8:in `translate'
  app/views/conversations/_conversation.haml:24:in `_app_views_conversations__conversation_haml__1615678641960729113_67008220__3564303584936041778'
  app/views/conversations/index.haml:25:in `_app_views_conversations_index_haml__3660492817632199612_63804460_129627635196511008'
  app/controllers/conversations_controller.rb:23:in `index'
  lib/rack/chrome_frame.rb:39:in `call'

A subsequent attempt to get to Conversations produced something longer:

Started GET "/conversations" for 127.0.0.1 at 2012-03-18 16:45:47 +0100
  Processing by ConversationsController#index as HTML
Rendered conversations/_conversation.haml (5.5ms)
Rendered conversations/index.haml within layouts/application (14.5ms)
Completed 500 Internal Server Error in 134ms
** [Airbrake] Failure: Net::HTTPBadGateway
** [Airbrake] Environment Info: [Ruby: 1.9.3] [Rails: 3.0.11] [Env: production]
** [Airbrake] Response from Airbrake: 
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>Airbrake</title>
  <link rel="fluid-icon" href="/images/airbrake-fluid.png" />
  <link href="/stylesheets/application.css" media="all" rel="stylesheet" type="text/css" />
</head>
<body class="static modal">

  <div id="header">
    <div id="lilypad"></div>
    <h1><a href="/">Airbrake</a></h1>
    <ul id="navigation">
    </ul>
  </div>

  <div id="content">

    <div id="main" style="width: 880px;">
      <div class="main_top">
        <h2>Application Error</h2>
      </div>
      <div class="main_content_inner" style="padding: 15px 25px; font-size: 1.5em;">
        <p>Error 500. We're sorry, but something went wrong.  We've been notified about the issue and will review it as soon as possible.</p>
        <p>Check our <a href="http://status.airbrake.io/">status site</a> for updates if you see ongoing issues.</p>
        <p><a href="/">&larr; Back to homepage</a></p>
        <!-- AIRBRAKE ERROR -->
      </div>
    </div><!-- #main -->

  </div><!-- #content -->

  <div id="footer" class="clearfix">
    <div class="service">
      <a href="http://airbrake.io/">Airbrake</a> &copy; 2011
    </div>
    <a href="http://blog.airbrake.io">Airbrake blog</a> <span class="vercial_line">|</span>
    <a href="/pages/api">API Overview</a> <span class="vercial_line">|</span>
    <a href="http://status.airbrake.io">Status site</a> <span class="vercial_line">|</span>
    <a href="http://help.airbrake.io">Help site</a> <span class="vercial_line">|</span>
    <a href="/pages/terms">Terms of Service</a> <span class="vercial_line">|</span>
    <a href="/pages/privacy">Privacy Policy</a>
  </div>

</body>
</html>

ActionView::Template::Error (translation data {:one=>"měsícem", :other=>"%{count} měsíci"} can not be used with :count => 2):
    21: 
    22:         .last_author
    23:           .timestamp
    24:             = t('ago', :time =>  time_ago_in_words(conversation.updated_at))
    25:           - if authors[conversation.id].present?
    26:             = authors[conversation.id].name
    27: 
  lib/i18n_interpolation_fallbacks.rb:10:in `block in translate'
  lib/i18n_interpolation_fallbacks.rb:8:in `each'
  lib/i18n_interpolation_fallbacks.rb:8:in `translate'
  app/views/conversations/_conversation.haml:24:in `_app_views_conversations__conversation_haml__3383790850989115450_63877440__4379037004014229005'
  app/views/conversations/index.haml:25:in `_app_views_conversations_index_haml__629918697200477467_59847080__3766022340605883570'
  app/controllers/conversations_controller.rb:23:in `index'
  lib/rack/chrome_frame.rb:39:in `call'

I don't understand what the HTTPBadGateway and HTTPClientError messages mean. Conversations worked just fine before the most recent pull (2 or 3 days ago).

@andrejpodzimek

After another pull 5 minutes ago, the problem persists.

Edit: The bug is still there. :-( (Mon Mar 26 00:57:10 CEST 2012)

@andrejpodzimek

The bug seems to be still there (Mar 28).
Still there. :-( (Apr 9)

@Raven24
diaspora* social network member

... are we waiting for a gem release here ?

@jhass
diaspora* social network member

kinda, I'm still undecided if I but the maintainer or just switch to the git release…

@jhass jhass closed this in fdc5811 Oct 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment