[traceback] BadStatusCodeError: 500 with ?product=Firefox&page=-1

VERIFIED FIXED in 64

Status

P2
major
VERIFIED FIXED
5 years ago
2 years ago

People

(Reporter: stephend, Assigned: adrian)

Tracking

unspecified

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
https://crash-stats.allizom.org/search/?product=Firefox&page=-1 throws:

BadStatusCodeError: 500: on: http://socorro-mware-stage-zlb.webapp.phx1.mozilla.com/bpapi/supersearch/product/Firefox/_results_offset/-100/_results_number/50/_facets/signature/

Stacktrace (most recent call last):

  File "django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "waffle/decorators.py", line 36, in _wrapped_view
    return view(request, *args, **kwargs)
  File "crashstats/supersearch/views.py", line 176, in search_results
    search_results = api.get(**params)
  File "crashstats/crashstats/models.py", line 302, in get
    expect_json=expect_json)
  File "crashstats/crashstats/models.py", line 179, in fetch
    raise BadStatusCodeError('%s: on: %s' % (resp.status_code, url))

Errormill: https://errormill.mozilla.org/webtools/socorro-stage/group/111710/
(Assignee)

Updated

5 years ago
Assignee: nobody → adrian
Priority: -- → P2

Comment 2

5 years ago
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/7cf4b111a82aaa7e373c0ac9653e8175b11aa326
Fixes bug 927689 - Sanitized page parameter to avoid it being negative. r=peterbe

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Assignee)

Updated

5 years ago
Target Milestone: --- → 64
(Reporter)

Comment 3

5 years ago
Verified FIXED on staging:

https://crash-stats.allizom.org/search/?product=Firefox&page=-1
Status: RESOLVED → VERIFIED
(Reporter)

Comment 4

5 years ago
Created attachment 821152 [details]
Post-fix screenshot
Product: Socorro → Socorro Graveyard
You need to log in before you can comment on or make changes to this bug.