vinitkumar / googlecl

GoogleCL rewrite in __progress__
Other
324 stars 48 forks source link

When getting authenticated: ssl.SSLError: [Errno 185090050] #262

Closed gevrey closed 7 years ago

gevrey commented 7 years ago

Enter the auth code: ** Traceback (most recent call last): File "src/google.py", line 956, in main() File "src/google.py", line 942, in main run_once(options, args) File "src/google.py", line 707, in run_once client = auth.oauth_login() File "/home/cri/dev/googlecl/src/googlecl/authenticate.py", line 34, in oauth_login credentials = flow.step2_exchange(auth_code) File "build/bdist.linux-i686/egg/oauth2client/_helpers.py", line 133, in positional_wrapper File "build/bdist.linux-i686/egg/oauth2client/client.py", line 2047, in step2_exchange File "build/bdist.linux-i686/egg/oauth2client/transport.py", line 282, in request File "/usr/local/lib/python2.7/dist-packages/httplib2-0.9.2-py2.7.egg/httplib2/init.py", line 1609, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/usr/local/lib/python2.7/dist-packages/httplib2-0.9.2-py2.7.egg/httplib2/init.py", line 1351, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/usr/local/lib/python2.7/dist-packages/httplib2-0.9.2-py2.7.egg/httplib2/init.py", line 1272, in _conn_request conn.connect() File "/usr/local/lib/python2.7/dist-packages/httplib2-0.9.2-py2.7.egg/httplib2/init.py", line 1036, in connect self.disable_ssl_certificate_validation, self.ca_certs) File "/usr/local/lib/python2.7/dist-packages/httplib2-0.9.2-py2.7.egg/httplib2/init.py", line 80, in _ssl_wrap_socket cert_reqs=cert_reqs, ca_certs=ca_certs) File "/usr/lib/python2.7/ssl.py", line 487, in wrap_socket ciphers=ciphers) File "/usr/lib/python2.7/ssl.py", line 241, in init ciphers) ssl.SSLError: [Errno 185090050] _ssl.c:344: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib

vinitkumar commented 7 years ago

Which python version are you working on? If possible, use the latest.

gevrey commented 7 years ago

Python 2.7.6

On 26 July 2017 at 10:19, Vinit Kumar notifications@github.com wrote:

Which python version are you working on? If possible, use the latest.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vinitkumar/googlecl/issues/262#issuecomment-317983459, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJFmazaVJY76KbbcuaAdE7tYExxLTlNks5sRvZ9gaJpZM4OjjSk .

vinitkumar commented 7 years ago

@gevrey It's quite old. Consider updating to Python 2.7.13 and check again.