Closed Bug 977825 Opened 12 years ago Closed 12 years ago

Some crashes not retrievable by the middleware despite being present in hbase and postgres

Categories

(Socorro Graveyard :: Middleware, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: selenamarie, Assigned: selenamarie)

References

Details

In particular: http://crash-stats.mozilla.com/report/index/2c83b084-ef7f-49aa-8e3a-737612140227 The crash exists in hbase and in postgres (reports, raw_crashes and processed_crashes).
Assignee: nobody → sdeckelmann
Reverted middleware config change for hbase and filesystem modules: Sending modules/socorro/files/prod/etc-socorro/middleware.ini Transmitting file data . Committed revision 83262.
Target Milestone: --- → 76
(In reply to Benjamin Smedberg [:bsmedberg] from comment #1) > Also seeing this with > https://crash-stats.mozilla.com/report/index/c4420c30-e861-4593-830e- > 603032140227 and > https://crash-stats.mozilla.com/report/index/fa79fb30-c3ef-4526-8650- > d6bbd2140227 Looks like our old friend/nemesis: BadStatusCodeError Stacktrace (most recent call last): File "django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "crashstats/crashstats/decorators.py", line 48, in inner return view(request, *args, **kwargs) File "crashstats/crashstats/views.py", line 983, in report_index context['report'] = api.get(crash_id=crash_id) File "crashstats/crashstats/models.py", line 314, in get expect_json=expect_json) File "crashstats/crashstats/models.py", line 72, in inner result = method(*args, **kwargs) File "crashstats/crashstats/models.py", line 230, in fetch raise BadStatusCodeError(resp.status_code, url)
To help potentially catch this earlier (at least -- if it's widespread -- post-launch), I've created a Web QA GitHub Issue to cover this: https://github.com/mozilla/Socorro-Tests/issues/254
Found an error in our production config. Fixing it resolved a series of automated alerts, and QA selenium tests now pass. 2 of the 3 listed crash reports load, though the remaining responds with 500.
I'm rechecking a minute later and all three load. Sentry's replay request feature has been handy. When trying to load an unprocessed report the crash queues for processing and the initial redirect to the finished report returns a 500. Reload the page immediately and you get a 200 with the expected report. I believe this is a different issue than the one described in comment 0 and should be its own bug.
Depends on: 977938
Let's call this resolved.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Socorro → Socorro Graveyard
You need to log in before you can comment on or make changes to this bug.