bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

[traceback] django.utils.encoding:DjangoUnicodeDecodeError: 'utf8' codec can't decode byte 0xa4 in position 55: invalid start byte. You passed in '/en-US/firefox/new/?utm_source=yahoo&utm_medium=referr.\xa4W\xd9\xa4W\xd9\xc0al&utm_campaign=y-uh&utm_conten

VERIFIED FIXED

Status

www.mozilla.org
Bedrock
--
major
VERIFIED FIXED
3 years ago
3 years ago

People

(Reporter: stephend, Assigned: jgmize)

Tracking

Production

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

3 years ago
django.utils.encoding:DjangoUnicodeDecodeError: 'utf8' codec can't decode byte 0xa4 in position 55: invalid start byte. You passed in '/en-US/firefox/new/?utm_source=yahoo&utm_medium=referr.\xa4W\xd9\xa4W\xd9\xc0al&utm_campaign=y-uh&utm_content=y-search-try' (<type 'str'>)

Traceback (most recent call last):
File "/data/www/www.mozilla.org-django/venv/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/api/web_transaction.py", line 1329, in _nr_wsgi_application_wrapper_
File "/data/www/www.mozilla.org-django/venv/lib/python2.7/site-packages/whitenoise/base.py", line 62, in __call__
File "/data/www/www.mozilla.org-django/venv/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/api/web_transaction.py", line 1215, in _nr_wsgi_application_wrapper_
File "/data/www/www.mozilla.org-django/venv/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 187, in __call__
File "/data/www/www.mozilla.org-django/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 87, in get_response
File "/data/www/www.mozilla.org-django/venv/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/hooks/framework_django.py", line 228, in wrapper
File "/data/www/www.mozilla.org-django/bedrock/bedrock/tabzilla/middleware.py", line 12, in process_request
File "/data/www/www.mozilla.org-django/bedrock/bedrock/base/middleware.py", line 64, in process_request
File "/data/www/www.mozilla.org-django/venv/lib/python2.7/site-packages/django/http/response.py", line 416, in __init__
File "/data/www/www.mozilla.org-django/venv/lib/python2.7/site-packages/django/utils/encoding.py", line 95, in force_text


New Relic: https://rpm.newrelic.com/accounts/263620/applications/2639284/traced_errors/2845c2-3e17472f-0a28-11e5-a48a-f8bc124250a8
(Reporter)

Updated

3 years ago
Assignee: nobody → jmize
(Assignee)

Comment 1

3 years ago
Created attachment 8616842 [details] [review]
bedrock pr 3046

Comment 2

3 years ago
Commits pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/e413d342f7222bbb3a910f2416ac1bc2ef15f7c9
Fix bug 1171183 in LocaleURLMiddleware

Strip characters from url params that cannot be encoded in utf-8

https://github.com/mozilla/bedrock/commit/8c58e496d98deb39fed707334251e7276972f56a
Merge pull request #3046 from jgmize/handle-unicode-errors-in-locale-redirect-middleware

Fix bug 1171183 in LocaleURLMiddleware

Updated

3 years ago
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
(Reporter)

Comment 3

3 years ago
Verified FIXED - https://rpm.newrelic.com/accounts/263620/applications/2639284/traced_errors is showing that the last occurrence of this was this morning at 9:02, which corresponds with the started, but not-then-finished production push.  Haven't seen any more of these since then.
Status: RESOLVED → VERIFIED
(Reporter)

Comment 4

3 years ago
Created attachment 8617553 [details]
Screen Shot 2015-06-09 at 1.09.44 PM.png
You need to log in before you can comment on or make changes to this bug.