Closed
Bug 1890568
Opened 2 years ago
Closed 1 year ago
[traceback] BugzillaRestHTTPUnexpectedError: unhandled 403 from secure bugs
Categories
(Socorro :: Webapp, task, P3)
Socorro
Webapp
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: relud, Assigned: willkg)
Details
https://mozilla.sentry.io/issues/5117236900/
release: 2024.03.18:ef53811d
BugzillaRestHTTPUnexpectedError: 403
File "django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "crashstats/crashstats/utils.py", line 216, in wrapper
response = f(request, *args, **kw)
File "crashstats/crashstats/views.py", line 333, in buginfo
result = bzapi.get(bug_ids)
File "crashstats/crashstats/models.py", line 1043, in get
raise BugzillaRestHTTPUnexpectedError(response.status_code)
Query string:
| key | value |
|---|---|
| bug_ids | 1835691,1784334 |
those are both secure bugs, which socorro should handle gracefully returning 403
Updated•2 years ago
|
Priority: -- → P3
| Assignee | ||
Comment 1•1 year ago
|
||
Grabbing this since I've fixed other things in this same code.
Assignee: nobody → willkg
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•1 year ago
|
||
I don't see any instances of this in Sentry and I can't reproduce it.
If I curl the BugzillaBugInfo API with secure bugs, it queries Bugzilla and Bugzilla returns an HTTP 200 response with no bug data in it (expected) and BugzillaBugInfo returns an empty result set (expected).
So, maybe something changed at some point and this is no longer a problem?
> curl "http://localhost:8000/buginfo/bug?bug_ids=1835691"
{"bugs": []}
I'm going to mark this WORKSFORME. If it happens again, we can reopen.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•