airbrake/airbrake — Issue #25: 503 for next request after error
Author: espen
Created: 2011-10-18 12:05:34+00:00
State: open

1: request page with error. ok, airbrake submits error.
2: request another page. status code 503.
3: reload same page. ok.

Running on Heroku but had same issue on nginx/passenger.

from heroku logs:

2011-10-18T12:01:08+00:00 heroku[router]: GET *url* dyno=web.1 queue=0 wait=0ms service=115ms status=200 bytes=76680
2011-10-18T12:01:11+00:00 app[web.1]:
2011-10-18T12:01:11+00:00 app[web.1]: ** [Airbrake] Success: Net::HTTPOK
2011-10-18T12:01:11+00:00 app[web.1]: ** [Airbrake] Environment Info: [Ruby: 1.9.2] [Rails: 3.1.1] [Env: production]
2011-10-18T12:01:11+00:00 app[web.1]: ** [Airbrake] Response from Airbrake:
2011-10-18T12:01:11+00:00 app[web.1]:
2011-10-18T12:01:11+00:00 app[web.1]:
2011-10-18T12:01:11+00:00 app[web.1]: x
2011-10-18T12:01:11+00:00 app[web.1]: x
2011-10-18T12:01:11+00:00 app[web.1]: x
2011-10-18T12:01:11+00:00 app[web.1]:
2011-10-18T12:01:11+00:00 app[web.1]:
2011-10-18T12:01:11+00:00 app[web.1]:
2011-10-18T12:01:11+00:00 app[web.1]: ArgumentError (invalid date):
2011-10-18T12:01:11+00:00 app[web.1]: controller.rb:4:in `index'
2011-10-18T12:01:11+00:00 app[web.1]:
2011-10-18T12:01:11+00:00 app[web.1]:
2011-10-18T12:01:11+00:00 heroku[router]: GET *url*/manage dyno=web.1 queue=0 wait=0ms service=586ms status=500 bytes=728
2011-10-18T12:01:12+00:00 app[web.1]: !! Unexpected error while processing request: deadlock; recursive locking