Hi, I use social login service by Janrain (https://www.janrain.com) my website is made using Web2py. I set up the service and the site worked properly for 11 months. But now the Facebook social login redirect fails (on the first try) and if I reload the page everything works correctly. I do not understand what the problem is. Sometimes I get “INVALID REQUEST” error and sometimes I get the Web2py error ticket. It happens only using Facebook login, but I tested the Janrain API and everything is correct and active.
the website login page: https://www.becomix.me/becomix/default/user/login the error tracback is below. Giulio Traceback (most recent call last): File "/home/giux/web2py/gluon/restricted.py", line 227, in restricted exec ccode in environment File "/home/giux/web2py/applications/becomix/controllers/default.py" <https://www.becomix.me/admin/default/edit/becomix/controllers/default.py>, line 985, in <module> File "/home/giux/web2py/gluon/globals.py", line 417, in <lambda> self._caller = lambda f: f() File "/home/giux/web2py/applications/becomix/controllers/default.py" <https://www.becomix.me/admin/default/edit/becomix/controllers/default.py>, line 945, in user return dict(form=auth()) File "/home/giux/web2py/gluon/tools.py", line 1941, in __call__ return getattr(self, args[0])() File "/home/giux/web2py/gluon/tools.py", line 3023, in login cas_user = cas.get_user() File "/home/giux/web2py/gluon/contrib/login_methods/rpx_account.py", line 85, in get_user auth_info_json = fetch(self.auth_url + '?' + data) File "/home/giux/web2py/gluon/tools.py", line 5226, in fetch html = urllib2.urlopen(req).read() File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 448, in error return self._call_chain(*args) File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 400: Bad Request -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

