Skip to content

Instantly share code, notes, and snippets.

@mathjazz
Created October 22, 2016 07:24
Show Gist options
  • Save mathjazz/4bd50ad3ea1ea094ba67fde3a3fbace9 to your computer and use it in GitHub Desktop.
Save mathjazz/4bd50ad3ea1ea094ba67fde3a3fbace9 to your computer and use it in GitHub Desktop.
django-allauth 500
Oct 22 04:43:26 mozilla-pontoon app/web.2: Internal Server Error: /accounts/persona/login/
Oct 22 04:43:26 mozilla-pontoon app/web.2: Traceback (most recent call last):
Oct 22 04:43:26 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/django/core/handlers/base.py", line 149, in get_response
Oct 22 04:43:26 mozilla-pontoon app/web.2: response = self.process_exception_by_middleware(e, request)
Oct 22 04:43:26 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/django/core/handlers/base.py", line 147, in get_response
Oct 22 04:43:26 mozilla-pontoon app/web.2: response = wrapped_callback(request, *callback_args, **callback_kwargs)
Oct 22 04:43:26 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/hooks/framework_django.py", line 499, in wrapper
Oct 22 04:43:26 mozilla-pontoon app/web.2: return wrapped(*args, **kwargs)
Oct 22 04:43:26 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/allauth/socialaccount/providers/persona/views.py", line 42, in persona_login
Oct 22 04:43:26 mozilla-pontoon app/web.2: return complete_social_login(request, login)
Oct 22 04:43:26 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/allauth/socialaccount/helpers.py", line 145, in complete_social_login
Oct 22 04:43:26 mozilla-pontoon app/web.2: return _complete_social_login(request, sociallogin)
Oct 22 04:43:26 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/allauth/socialaccount/helpers.py", line 161, in _complete_social_login
Oct 22 04:43:26 mozilla-pontoon app/web.2: ret = _process_signup(request, sociallogin)
Oct 22 04:43:26 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/allauth/socialaccount/helpers.py", line 27, in _process_signup
Oct 22 04:43:26 mozilla-pontoon app/web.2: url = reverse('socialaccount_signup')
Oct 22 04:43:26 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/hooks/framework_django.py", line 593, in wrapper
Oct 22 04:43:26 mozilla-pontoon app/web.2: return execute(*args, **kwargs)
Oct 22 04:43:26 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/hooks/framework_django.py", line 592, in execute
Oct 22 04:43:26 mozilla-pontoon app/web.2: return wrapped(viewname, *args, **kwargs)
Oct 22 04:43:26 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/django/core/urlresolvers.py", line 600, in reverse
Oct 22 04:43:26 mozilla-pontoon app/web.2: return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))
Oct 22 04:43:26 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/django/core/urlresolvers.py", line 508, in _reverse_with_prefix
Oct 22 04:43:26 mozilla-pontoon app/web.2: (lookup_view_s, args, kwargs, len(patterns), patterns))
Oct 22 04:43:26 mozilla-pontoon app/web.2: NoReverseMatch: Reverse for 'socialaccount_signup' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
Oct 22 04:43:26 mozilla-pontoon heroku/router: at=info method=POST path="/accounts/persona/login/" host=pontoon.mozilla.org request_id=c7980aee-953b-4092-9ac9-f82ecb8c52e6 fwd="43.230.135.253" dyno=web.2 connect=0ms service=730ms status=500 bytes=5295
-----------------------------
Oct 22 06:22:33 mozilla-pontoon heroku/router: at=info method=GET path="/accounts/fxa/login/callback/?state=Ud2UR20vk6Bf&code=3e41478f5cd2e22750f3a1825ea249ca2625783ba94878cd6fa5131c431f38b6&action=signin" host=pontoon.mozilla.org request_id=acb9af76-03cc-497b-80d8-af1071d180f2 fwd="43.230.135.253" dyno=web.2 connect=0ms service=1452ms status=500 bytes=5295
Oct 22 06:22:33 mozilla-pontoon app/web.2: Internal Server Error: /accounts/fxa/login/callback/
Oct 22 06:22:33 mozilla-pontoon app/web.2: Traceback (most recent call last):
Oct 22 06:22:33 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/django/core/handlers/base.py", line 149, in get_response
Oct 22 06:22:33 mozilla-pontoon app/web.2: response = self.process_exception_by_middleware(e, request)
Oct 22 06:22:33 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/django/core/handlers/base.py", line 147, in get_response
Oct 22 06:22:33 mozilla-pontoon app/web.2: response = wrapped_callback(request, *callback_args, **callback_kwargs)
Oct 22 06:22:33 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/hooks/framework_django.py", line 499, in wrapper
Oct 22 06:22:33 mozilla-pontoon app/web.2: return wrapped(*args, **kwargs)
Oct 22 06:22:33 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/allauth/socialaccount/providers/oauth2/views.py", line 62, in view
Oct 22 06:22:33 mozilla-pontoon app/web.2: return self.dispatch(request, *args, **kwargs)
Oct 22 06:22:33 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/allauth/socialaccount/providers/oauth2/views.py", line 135, in dispatch
Oct 22 06:22:33 mozilla-pontoon app/web.2: return complete_social_login(request, login)
Oct 22 06:22:33 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/allauth/socialaccount/helpers.py", line 145, in complete_social_login
Oct 22 06:22:33 mozilla-pontoon app/web.2: return _complete_social_login(request, sociallogin)
Oct 22 06:22:33 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/allauth/socialaccount/helpers.py", line 161, in _complete_social_login
Oct 22 06:22:33 mozilla-pontoon app/web.2: ret = _process_signup(request, sociallogin)
Oct 22 06:22:33 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/allauth/socialaccount/helpers.py", line 27, in _process_signup
Oct 22 06:22:33 mozilla-pontoon app/web.2: url = reverse('socialaccount_signup')
Oct 22 06:22:33 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/hooks/framework_django.py", line 593, in wrapper
Oct 22 06:22:33 mozilla-pontoon app/web.2: return execute(*args, **kwargs)
Oct 22 06:22:33 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/hooks/framework_django.py", line 592, in execute
Oct 22 06:22:33 mozilla-pontoon app/web.2: return wrapped(viewname, *args, **kwargs)
Oct 22 06:22:33 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/django/core/urlresolvers.py", line 600, in reverse
Oct 22 06:22:33 mozilla-pontoon app/web.2: return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))
Oct 22 06:22:33 mozilla-pontoon app/web.2: File "/app/.heroku/python/lib/python2.7/site-packages/django/core/urlresolvers.py", line 508, in _reverse_with_prefix
Oct 22 06:22:33 mozilla-pontoon app/web.2: (lookup_view_s, args, kwargs, len(patterns), patterns))
Oct 22 06:22:33 mozilla-pontoon app/web.2: NoReverseMatch: Reverse for 'socialaccount_signup' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment