I have downloaded the latest version of the Google Cloud SDK for python. After having exported the proper directory, I run gauth. It fires up the browser to authorize etc. At the end I receive a message saying "The authentication flow has completed."
On the terminal side though the script has crashed. The message is the following:
Traceback (most recent call last):
File "/home/username/google-cloud-sdk-0.9.7/platform/gauth-bin/gauth_main.py", line 168, in <module>
main()
File "/home/username/google-cloud-sdk-0.9.7/platform/gauth-bin/gauth_main.py", line 150, in main
credentials = manager.Authorize(refresh_token=args.refresh_token)
File "/home/username/google-cloud-sdk-0.9.7/bin/bootstrapping/../../lib/gauth/auth.py", line 135, in Authorize
return self._AuthorizeWithWebFlow()
File "/home/username/google-cloud-sdk-0.9.7/bin/bootstrapping/../../lib/gauth/auth.py", line 185, in _AuthorizeWithWebFlow
return oauth2_tools.run(flow, storage)
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/oauth2client/util.py", line 128, in positional_wrapper
return wrapped(*args, **kwargs)
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/oauth2client/tools.py", line 197, in run
credential = flow.step2_exchange(code, http=http)
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/oauth2client/util.py", line 128, in positional_wrapper
return wrapped(*args, **kwargs)
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/oauth2client/client.py", line 1283, in step2_exchange
headers=headers)
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/httplib2/__init__.py", line 1586, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/httplib2/__init__.py", line 1333, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/httplib2/__init__.py", line 1255, in _conn_request
conn.connect()
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/httplib2/__init__.py", line 1009, in connect
sock = socks.socksocket(family, socktype, proto)
AttributeError: 'NoneType' object has no attribute 'socksocket'
So I cannot proceed to connect with the command line tool.
On Thursday, August 22, 2013 6:02:38 PM UTC+1, Amit Mondal wrote:
-- On the terminal side though the script has crashed. The message is the following:
Traceback (most recent call last):
File "/home/username/google-cloud-sdk-0.9.7/platform/gauth-bin/gauth_main.py", line 168, in <module>
main()
File "/home/username/google-cloud-sdk-0.9.7/platform/gauth-bin/gauth_main.py", line 150, in main
credentials = manager.Authorize(refresh_token=args.refresh_token)
File "/home/username/google-cloud-sdk-0.9.7/bin/bootstrapping/../../lib/gauth/auth.py", line 135, in Authorize
return self._AuthorizeWithWebFlow()
File "/home/username/google-cloud-sdk-0.9.7/bin/bootstrapping/../../lib/gauth/auth.py", line 185, in _AuthorizeWithWebFlow
return oauth2_tools.run(flow, storage)
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/oauth2client/util.py", line 128, in positional_wrapper
return wrapped(*args, **kwargs)
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/oauth2client/tools.py", line 197, in run
credential = flow.step2_exchange(code, http=http)
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/oauth2client/util.py", line 128, in positional_wrapper
return wrapped(*args, **kwargs)
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/oauth2client/client.py", line 1283, in step2_exchange
headers=headers)
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/httplib2/__init__.py", line 1586, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/httplib2/__init__.py", line 1333, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/httplib2/__init__.py", line 1255, in _conn_request
conn.connect()
File "/home/username/google-cloud-sdk-0.9.7/lib/gauth/lib/httplib2/__init__.py", line 1009, in connect
sock = socks.socksocket(family, socktype, proto)
AttributeError: 'NoneType' object has no attribute 'socksocket'
So I cannot proceed to connect with the command line tool.
On Thursday, August 22, 2013 6:02:38 PM UTC+1, Amit Mondal wrote:
Can please verify this using the command line tool?
On Aug 22, 2013 1:49 AM, "DSG" <middlewar...@gmail.com> wrote:The password is not changed. Definitely not by me and as I check from the backup of the database not from anyone else.--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql- .discuss/3d476911-9919-4942- a6a8-e056018d0b0e% 40googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out .
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/bee574e1-ceb4-4d39-a241-c2f54f62a168%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment