venf2k / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

WARNING: Could not acquire lock credentials.lock in 0 seconds #729

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

What is the expected output? What do you see instead?

Please provide any additional information below.

Trace:
Trace:
C:\Users\eddyz\Downloads\google-cloud-sdk\gcloud_main.py:169
  [...]
 _DoFilter(context, self.Http(), 'v1', ar...
C:\Users\eddyz\Downloads\google-cloud-sdk\calliope\base.py:451
 return self._http_func(auth=auth, creds=...
C:\Users\eddyz\Downloads\google-cloud-sdk\core\credentials\http.py:70
 creds = store.Load()
C:\Users\eddyz\Downloads\google-cloud-sdk\core\credentials\store.py:287
 Refresh(cred)
C:\Users\eddyz\Downloads\google-cloud-sdk\core\credentials\store.py:305
 creds.refresh(http_client or http.Http()...
C:\Users\eddyz\Downloads\google-cloud-sdk\bin\.oauth2client\client.py:604
 self._refresh(http.request)
C:\Users\eddyz\Downloads\google-cloud-sdk\bin\.oauth2client\client.py:787
 self._do_refresh_request(http_request)
C:\Users\eddyz\Downloads\google-cloud-sdk\bin\.oauth2client\client.py:806
 self.token_uri, method='POST', body=body...
C:\Users\eddyz\Downloads\google-cloud-sdk\core\http.py:203
 return orig_request(*modified_args, **kw...
C:\Users\eddyz\Downloads\google-cloud-sdk\bin\.httplib2\__init__.py:1610
 (response, content) = self._request(conn...
C:\Users\eddyz\Downloads\google-cloud-sdk\bin\.httplib2\__init__.py:1352
 (response, content) = self._conn_request...
C:\Users\eddyz\Downloads\google-cloud-sdk\bin\.httplib2\__init__.py:1308
 response = conn.getresponse()
C:\Python27\httplib.py:1119
 raise ResponseNotReady()
ResponseNotReady
[output truncated]

Original issue reported on code.google.com by ed...@motorola.com on 14 Apr 2016 at 8:50

GoogleCodeExporter commented 8 years ago
Thanks for reporting this. Do you mind posting the full output of 'gcloud 
feedback'? It contains a little more information.

Does this issue reproduce? Are you behind any unusual network/proxy settings? 
ResponseNotReady usually indicates a network problem, either temporary or 
permanent.

Original comment by z...@google.com on 14 Apr 2016 at 12:07

GoogleCodeExporter commented 8 years ago
Issue 728 has been merged into this issue.

Original comment by z...@google.com on 14 Apr 2016 at 12:08

GoogleCodeExporter commented 8 years ago
I use proxy in my chrome settings. But I can use putty to connect GCE VM.

see logs in attachment zip file. thanks.

Original comment by ed...@motorola.com on 14 Apr 2016 at 12:55

Attachments:

GoogleCodeExporter commented 8 years ago
If you're using a proxy, you need to set the following settings:

$ gcloud config set proxy/address [ADDRESS]  # The hostname or IP address of 
your proxy server.
$ gcloud config set proxy/password [PASSWORD]  # If your proxy requires 
authentication, the password to use when connecting.
$ gcloud config set proxy/port [PORT]  # The port to use when connected to your 
proxy server.
$ gcloud config set proxy/type [TYPE]  # The type of proxy you are using. 
Supported proxy types are: [http, http_no_tunnel, socks4, socks5].
$ gcloud config set proxy/username [USERNAME]  # If your proxy requires 
authentication, the username to use when connecting.

Original comment by z...@google.com on 14 Apr 2016 at 1:40

GoogleCodeExporter commented 8 years ago
thanks! I'll have a try maybe later. now I am well using putty and WinSCP 
connecting with GCE VM :)

Original comment by ed...@motorola.com on 14 Apr 2016 at 11:53