Page MenuHomePhabricator

Wikipedia Library Server Error
Closed, ResolvedPublic

Description

Hello. Another outage, whereby an error message appears, and it is not possible to proceed to the datasets. It's the same scenario as the one I reported the other day.

Event Timeline

This may be related to T332349, but we shouldn't be displaying a server error.

The specific error message is:

UnboundLocalError:local variable 'access_token' referenced before assignment
File "django/core/handlers/exception.py", line 47, in inner
File "django/core/handlers/base.py", line 181, in _get_response
File "django/views/generic/base.py", line 70, in view
File "django/views/generic/base.py", line 98, in dispatch
File "TWLight/users/oauth.py", line 510, in get

@Samwalton9 This was in fact me peeking in on T332349 and making changes over the weekend. As some users have reported being able to access the site despite the initial 403, I wanted to verify that the access token was definitely not being set. I then changed this back yesterday so that all users should be seeing the 403 again.

I should have given more details, my apologies.

As well as a cute photo, I have the following message right now:

Quoted Text

Access token generation failed.
Permission denied
Sorry; you aren't allowed to do that.

If you think your account should be able to do that, please email us about this error

crunchie needs a little tin cup by frankieleon, on Flickr; CC BY

Quoted Text

Samwalton9-WMF claimed this task.

@Samwalton9 This was in fact me peeking in on T332349 and making changes over the weekend. As some users have reported being able to access the site despite the initial 403, I wanted to verify that the access token was definitely not being set. I then changed this back yesterday so that all users should be seeing the 403 again.

Gotcha, thanks!

I can get in now. Thanks for the assistance.