planktonicme / google-cloud-sdk

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

Cloud crashed when command was run when offline #642

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Remain Offline. Try to connect.

What is the expected output? What do you see instead?
Should provide offline status. Instead a crash is seen.

Please provide any additional information below.

Traceback (most recent call last):
  File "googlecloudsdk/gcloud_main.py", line 169, in main
    gcloud_cli.Execute()
  [...]
  File "googlecloudsdk/calliope/backend.py", line 1379, in Http
    **kwargs)
  File "googlecloudsdk/core/cli.py", line 139, in Http
    creds = c_store.Load()
  File "googlecloudsdk/core/credentials/store.py", line 286, in Load
    Refresh(cred)
  File "googlecloudsdk/core/credentials/store.py", line 304, in Refresh
    creds.refresh(http or _Http())
  File "third_party/oauth2client/client.py", line 604, in refresh
    self._refresh(http.request)
  File "third_party/oauth2client/client.py", line 787, in _refresh
    self._do_refresh_request(http_request)
  File "third_party/oauth2client/client.py", line 806, in _do_refresh_request
    self.token_uri, method='POST', body=body, headers=headers)
  File "third_party/httplib2/__init__.py", line 1610, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "third_party/httplib2/__init__.py", line 1352, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "third_party/httplib2/__init__.py", line 1308, in _conn_request
    response = conn.getresponse()
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1123, in getresponse
    raise ResponseNotReady()
ResponseNotReady

[output truncated]

Original issue reported on code.google.com by laerdevs...@gmail.com on 11 Mar 2016 at 8:14

GoogleCodeExporter commented 8 years ago
Thanks for the report.
A simple error message would certainly be better here.

Original comment by gsfow...@google.com on 16 Mar 2016 at 3:08