Closed Bug 715708 Opened 13 years ago Closed 13 years ago

browserid: register new user fails the first time?

Categories

(developer.mozilla.org Graveyard :: Wiki pages, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: groovecoder, Assigned: groovecoder)

References

Details

(Whiteboard: u=user c=browserid p=2 pa=3)

[Django] Error (EXTERNAL IP): /en-US/users/browserid_register         

Traceback (most recent call last):

  File "/data/www/django/developer.mozilla.org/kuma/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/data/www/django/developer.mozilla.org/kuma/apps/sumo/decorators.py", line 15, in _checkssl
    return view_func(request, *args, **kwargs)

  File "/data/www/django/developer.mozilla.org/kuma/apps/users/views.py", line 181, in browserid_register
    profile.deki_user_id = deki_user.id

AttributeError: 'NoneType' object has no attribute 'id'

http://pastebin.mozilla.org/1435777
Assignee: nobody → lcrouch
Having trouble reproducing this on dev, stage9, or prod. Could be a single failing Mindtouch API webhead? Maybe a fix is to wrap some further robustness & retries around the Django code hitting the MT API? (Ugh)
I can't reproduce reliably either, but we get a couple of server-error emails on this per day. :( It affects both en-US/users/browserid_register and */users/register
Whiteboard: u=user c=browserid p= → u=user c=browserid p=2
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: u=user c=browserid p=2 → u=user c=browserid p=2 pa=3
verified fixed in both en-US and FR

https://developer.mozilla.org/fr/users/register
Status: RESOLVED → VERIFIED
Version: Kuma → unspecified
Component: Website → Landing pages
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.