bumplzz69 / google-cloud-sdk

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

gcloud auth login fails in mac #137

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I follow the guide in the website and when I type: gcloud auth login  in the 
terminal then my browser opened and after a little time the error message appear

What is the expected output? What do you see instead?
 File "/Users/chenhuizhou/Documents/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 212, in <module>
    main()
  File "/Users/chenhuizhou/Documents/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 208, in main
    _cli.Execute()
  File "/Users/chenhuizhou/Documents/google-cloud-sdk/./lib/googlecloudsdk/calliope/cli.py", line 621, in Execute
    result = args.cmd_func(cli=self, args=args)
  File "/Users/chenhuizhou/Documents/google-cloud-sdk/./lib/googlecloudsdk/calliope/backend.py", line 1088, in Run
    result = command_instance.Run(args)
  File "/Users/chenhuizhou/Documents/google-cloud-sdk/./lib/googlecloudsdk/calliope/exceptions.py", line 86, in TryFunc
    return func(*args, **kwargs)
  File "/Users/chenhuizhou/Documents/google-cloud-sdk/lib/googlecloudsdk/gcloud/sdktools/auth/login.py", line 83, in Run
    creds = self.DoWebFlow(args.launch_browser)
  File "/Users/chenhuizhou/Documents/google-cloud-sdk/lib/googlecloudsdk/gcloud/sdktools/auth/login.py", line 141, in DoWebFlow
    return c_store.AcquireFromWebFlow(launch_browser=launch_browser)
  File "/Users/chenhuizhou/Documents/google-cloud-sdk/./lib/googlecloudsdk/core/credentials/store.py", line 394, in AcquireFromWebFlow
    http=_Http())
  File "/Users/chenhuizhou/Documents/google-cloud-sdk/./lib/googlecloudsdk/core/credentials/flow.py", line 160, in Run
    credential = flow.step2_exchange(code, http=http)
  File "/Users/chenhuizhou/Documents/google-cloud-sdk/./lib/oauth2client/util.py", line 129, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/Users/chenhuizhou/Documents/google-cloud-sdk/./lib/oauth2client/client.py", line 1825, in step2_exchange
    headers=headers)
  File "/Users/chenhuizhou/Documents/google-cloud-sdk/./lib/httplib2/__init__.py", line 1608, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/Users/chenhuizhou/Documents/google-cloud-sdk/./lib/httplib2/__init__.py", line 1350, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/Users/chenhuizhou/Documents/google-cloud-sdk/./lib/httplib2/__init__.py", line 1306, in _conn_request
    response = conn.getresponse()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1033, in getresponse
    raise ResponseNotReady()
httplib.ResponseNotReady

What is the output of 'gcloud info'?
oogle Cloud SDK [0.9.57]

Platform: [Mac OS X, x86_64]
Python Version: [2.7.6 (default, Sep  9 2014, 15:04:36)  [GCC 4.2.1 Compatible 
Apple LLVM 6.0 (clang-600.0.39)]]
Site Packages: [Disabled]

Installation Root: [/Users/chenhuizhou/Documents/google-cloud-sdk]
Installed Components:
  core: [2015.04.21]
  app-engine-python: [1.9.18]
  core-nix: [2014.10.20]
  compute: [2015.04.21]
  gae-python: [2014.05.06]
  gcloud: [2015.04.21]
  gsutil-nix: [4.6]
  gcloud-extensions-darwin-x86_64: [0.15.0]
  app-engine-python-extras: [1.9.18]
  gsutil: [4.11]
  bq: [2.0.18]
  dns: [2015.04.21]
  sql: [2015.04.09]
  gae-python-launcher-mac: [1.9.18]
  gcutil: [1.16.5]
  gcutil-nix: [1.16.5]
  bq-nix: [2.0.18]
System PATH: 
[/Users/chenhuizhou/Documents/google-cloud-sdk/bin:/Users/chenhuizhou/Documents/
WebRTC/depot_tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin]
Cloud SDK on PATH: [True]

Installation Properties: 
[/Users/chenhuizhou/Documents/google-cloud-sdk/properties]
User Config Directory: [/Users/chenhuizhou/.config/gcloud]
User Properties: [/Users/chenhuizhou/.config/gcloud/properties]
Current Workspace: [None]
Workspace Config Directory: [None]
Workspace Properties: [None]

Account: [ACCOUNT]
Project: [None]

Current Properties:
  [core]
    account: [ACCOUNT]
    disable_usage_reporting: [False]

Logs Directory: [/Users/chenhuizhou/.config/gcloud/logs]
Last Log File: 
[/Users/chenhuizhou/.config/gcloud/logs/2015.04.27/17.11.16.870566.log]

Please provide any additional information below.
I am new in the google app engine I just want to deploy a demo please help me 
to fix this question thanks.

Original issue reported on code.google.com by ZhouChen...@gmail.com on 27 Apr 2015 at 9:16