-
Notifications
You must be signed in to change notification settings - Fork 745
Description
Hi. I have some trouble with facebook backend. Also i've tried @krvss fork and got the same error. I see, almost all backends work fine (google-oauth2, instagram, flickr, vkontakte, yandex, ...), so it seems the reason is on my side.
I guess the wrong settings may be the reason. I fill only "App Domain" and "Site URL" - is it enough?
So, i got the fb question after redirect, and then this:
Environment:
Request Method: GET
Request URL: http://mydomain.lol/social-auth/complete/facebook/?code=AQBOGXjtD2ruIyF3SHGKN_vpU9KszD1By52QjXHym7SU12_fMy1hfFJuRYDzqVfbVGIaYgSt9Lh5TfADqsBvqL5tzL3IJ6tT6i9b3G_V-vc0EJPzwDF9fEMG4LNTVEuDjq7Lp1Bo6wEFWxqy5vzMRuSr4mrlCoicS2xJtN27A1kpZSOR0FjBSTHnoLsBp28f6Hc
Django Version: 1.4
Python Version: 2.7.2
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'django.contrib.admindocs',
'social_auth',
'tel.po',
'tel.telehome')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
-
File "/usr/lib/python2.7/dist-packages/django/views/decorators/csrf.py" in wrapped_view
response = callback(request, _callback_args, *_callback_kwargs) -
File "/usr/local/lib/python2.7/dist-packages/django_social_auth-0.6.7-py2.7.egg/social_auth/views.py" in wrapper
return view_func(_args, *_kwargs) -
File "/usr/local/lib/python2.7/dist-packages/django_social_auth-0.6.7-py2.7.egg/social_auth/views.py" in complete
return func(request, backend, _args, *_kwargs) -
File "/usr/local/lib/python2.7/dist-packages/django_social_auth-0.6.7-py2.7.egg/social_auth/views.py" in complete_process
return complete_process(request, backend, _args, *_kwargs) -
File "/usr/local/lib/python2.7/dist-packages/django_social_auth-0.6.7-py2.7.egg/social_auth/views.py" in auth_complete
user = auth_complete(request, backend, _args, *_kwargs) -
File "/usr/local/lib/python2.7/dist-packages/django_social_auth-0.6.7-py2.7.egg/social_auth/backends/facebook.py" in auth_complete
**kwargs) -
File "/usr/lib/python2.7/urllib2.py" in urlopen
response = cgi.parse_qs(urlopen(url).read()) -
File "/usr/lib/python2.7/urllib2.py" in open
return _opener.open(url, data, timeout) -
File "/usr/lib/python2.7/urllib2.py" in _open
response = self._open(req, data) -
File "/usr/lib/python2.7/urllib2.py" in _call_chain
'_open', req) -
File "/usr/lib/python2.7/urllib2.py" in https_open
result = func(*args) -
File "/usr/lib/python2.7/urllib2.py" in do_open
return self.do_open(httplib.HTTPSConnection, req) -
raise URLError(err)
Exception Type: URLError at /social-auth/complete/facebook/
Exception Value: <urlopen error [Errno 104] Connection reset by peer>