WrongBackend exception while trying to add GiHub repository


#1

Hola!

It seems like I’m missing something from the official documentation. I’m trying to implement Release feature https://docs.sentry.io/learn/releases/. In order to do so, I need to add a GitHub repository. However, after adding a reposiroty via https://<HOSTNAME>/organizations/<ORG_NAME>/repos/ I’m getting a pop-up, which asks to associate an identity. And when I hit “Associate Identity” button, I’m getting 500 code from https://<HOSTNAME>/account/settings/social/associate/github/?next=/organizations/<ORG_NAME>/repos/

I’m a manager in Sentry and owner of the GitHub repository. Also, I have configured OAuth app for Sentry in Github with
CallbackURL: https://<HOSTNAME>/account/settings/social/associate/complete/github/

I’m running Sentry in Docker and environment has GITHUB_APP_ID and GITHUB_API_SECRET

Traceback from the logs:

sentry                       | Traceback (most recent call last):
sentry                       |   File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, in get_response
sentry                       |     response = wrapped_callback(request, *callback_args, **callback_kwargs)
sentry                       |   File "/usr/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 57, in wrapped_view
sentry                       |     return view_func(*args, **kwargs)
sentry                       |   File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 22, in _wrapped_view
sentry                       |     return view_func(request, *args, **kwargs)
sentry                       |   File "/usr/local/lib/python2.7/site-packages/social_auth/decorators.py", line 27, in wrapper
sentry                       |     raise WrongBackend(backend)
sentry                       | WrongBackend
sentry                       | 10:23:24 [ERROR] django.request: Internal Server Error: /account/settings/social/associate/complete/github/ (status_code=500 request=<WSGIRequest: GET u'/account/settings/social/associate/complete/github/'>)

What am I missing here?