Closed Bug 707229 Opened 13 years ago Closed 13 years ago

[Traceback] ValueError: No JSON object could be decoded

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: krupa.mozbugs, Assigned: robhudson)

References

()

Details

Traceback (most recent call last): File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/data/www/apps-preview-dev.allizom.org/zamboni/apps/amo/decorators.py", line 49, in wrapper return f(request, *args, **kw) File "/data/www/apps-preview-dev.allizom.org/zamboni/apps/users/views.py", line 325, in browserid_login assertion=request.POST['assertion']) File "/data/www/apps-preview-dev.allizom.org/zamboni/apps/users/views.py", line 290, in browserid_authenticate result = backend.verify(assertion, settings.SITE_URL) File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django-browserid/django_browserid/auth.py", line 65, in verify 'audience': audience File "/data/www/apps-preview-dev.allizom.org/zamboni/vendor/src/django-browserid/django_browserid/auth.py", line 57, in _verify_http_request return json.loads(content) File "/usr/lib64/python2.6/json/__init__.py", line 307, in loads return _default_decoder.decode(s) File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python2.6/json/decoder.py", line 338, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded
steps to reproduce?
I don't know what was causing it. The django_browserid project accepted my pull request to wrap this in a try/except block and add logging when it does happen. I have not updated vendor with this change, however.
Go for it and lets close this
Did this happen?
Priority: -- → P5
Target Milestone: --- → 6.3.8
Blocks: 710074
No longer blocks: 690899
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.