Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during Oauth authentication #18

Open
GoogleCodeExporter opened this issue Dec 14, 2015 · 0 comments
Open

Error during Oauth authentication #18

GoogleCodeExporter opened this issue Dec 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Install Bigquery Tool: python setup.py install
2. Oauth authentication: bg init
3.Get the authorize_token and pass to the command prompt

What is the expected output? What do you see instead?
The authentication process should be finished with any error

What version of the product are you using? On what operating system?
Latest version
on MacOS 10.8.2

Please provide any additional information below.

The error message:
  File "build/bdist.macosx-10.8-intel/egg/bq.py", line 769, in RunSafely
    return_value = self.RunWithArgs(*args, **kwds)
  File "build/bdist.macosx-10.8-intel/egg/bq.py", line 1930, in RunWithArgs
    client = Client.Get()
  File "build/bdist.macosx-10.8-intel/egg/bq.py", line 590, in Get
    cls.client = Client.Create()
  File "build/bdist.macosx-10.8-intel/egg/bq.py", line 570, in Create
    credentials = _GetCredentialsFromFlags()
  File "build/bdist.macosx-10.8-intel/egg/bq.py", line 370, in _GetCredentialsFromFlags
    credentials = credentials_getter(storage)
  File "build/bdist.macosx-10.8-intel/egg/bq.py", line 310, in _GetCredentialsFromOAuthFlow
    credentials = oauth2client.tools.run(flow, storage)
  File "build/bdist.macosx-10.8-intel/egg/oauth2client/util.py", line 120, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.8-intel/egg/oauth2client/tools.py", line 169, in run
    credential = flow.step2_exchange(code, http=http)
  File "build/bdist.macosx-10.8-intel/egg/oauth2client/util.py", line 120, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.macosx-10.8-intel/egg/oauth2client/client.py", line 1131, in step2_exchange
    headers=headers)
  File "/Library/Python/2.7/site-packages/httplib2/__init__.py", line 1570, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/Library/Python/2.7/site-packages/httplib2/__init__.py", line 1317, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/Library/Python/2.7/site-packages/httplib2/__init__.py", line 1252, in _conn_request
    conn.connect()
  File "/Library/Python/2.7/site-packages/httplib2/__init__.py", line 1021, in connect
    self.disable_ssl_certificate_validation, self.ca_certs)
  File "/Library/Python/2.7/site-packages/httplib2/__init__.py", line 80, in _ssl_wrap_socket
    cert_reqs=cert_reqs, ca_certs=ca_certs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 372, in wrap_socket
    ciphers=ciphers)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 132, in __init__
    ciphers)
========================================

Unexpected exception in init operation: [Errno 185090050] _ssl.c:340: 
error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib

Original issue reported on code.google.com by [email protected] on 22 Aug 2013 at 5:03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant