I am using the following debian build of OpenERP 7: openerp-7.0-20130510-231240.
I get the following error when I try to use Google OAuth2 with OpenERP. I have set the client id appropriately and get the google authentication page which asks for permission. But then, the redirection back to the OpenERP server takes a lot of time and then fails with Authentication Failure and the follo. traceback: (I ran the openerp-server with --db-filter=<mydatabase> so that only one particular database is used, as per the video explanation here: youtube.com/watch?v=RHOjSJoXad0&list=PLq7op4J183lX44ZlXPiHxUpRvmmRDtxye&index=2
7977 ERROR openerptest openerp.addons.auth_oauth.controllers.main: OAuth2: <urlopen error [Errno 110] Connection timed out>
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/openerp-7.0_20130510_231240-py2.7.egg/openerp/addons/auth_oauth/controllers/main.py", line 65, in signin
credentials = u.auth_oauth(cr, SUPERUSER_ID, provider, kw, context=context)
File "/usr/local/lib/python2.7/dist-packages/openerp-7.0_20130510_231240-py2.7.egg/openerp/addons/auth_oauth/res_users.py", line 74, in auth_oauth
validation = self._auth_oauth_validate(cr, uid, provider, access_token)
File "/usr/local/lib/python2.7/dist-packages/openerp-7.0_20130510_231240-py2.7.egg/openerp/addons/auth_oauth/res_users.py", line 40, in _auth_oauth_validate
validation = self._auth_oauth_rpc(cr, uid, p.validation_endpoint, access_token)
File "/usr/local/lib/python2.7/dist-packages/openerp-7.0_20130510_231240-py2.7.egg/openerp/addons/auth_oauth/res_users.py", line 33, in _auth_oauth_rpc
f = urllib2.urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1215, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 110] Connection timed out>
Note: The above traceback is just the seemingly relevant part of the error. The complete traceback is here: pastebin.com/6gHhyPwX