Open GoogleCodeExporter opened 8 years ago
Thanks for the report. [gcloud init] essentially runs [gcloud auth login].
I assume you will get same result.
Are you behind some proxy/firewall. Can you tell what kind.
As a workaround you can run
gcloud auth-login --no-launch-browser
Once authenticated, use [gcloud init] again and select just authenticated
credentials.
Let us know if that worked for you.
Original comment by che...@google.com
on 16 Oct 2015 at 1:04
I'm having the same problem for the past two weeks. I'm a AWS user and wanted
to switch to Google Cloud - but this problem is stopping me.
I have Anaconda installed (python packages). But for gCloud purposes, I
installed a fresh version of stand alone python and added it to the path (in
the beginning). But still getting the same error when I try any gCloud init(or
gcloud auth-login --no-launch-browser) : "ERROR: gcloud crashed
(BadStatusLine): ''"
I'm a windows 7 user - and have no problems with the AWS CLI. PLEASE HELP!
Original comment by rset...@gmail.com
on 28 Dec 2015 at 7:21
Thanks for reporting an issue. So when you run
gcloud auth-login --no-launch-browser
you get URL to go to. As you copy paste the url to the browser and login you
get a code. Once you enter the code is it then you get this error?
Also are you behind proxy/firewall ? If so do you set http_proxy environment
variable?
Finally can you copy paste output of [gcloud info] this will help us diagnose
the issue.
Original comment by che...@google.com
on 29 Dec 2015 at 1:40
Hello,
Thanks for the followup. Today i tried to uninstall - and reinstall google
cloud sdk. The install wizard gives the same error "ERROR: gcloud crashed
(BadStatusLine): ''"
I'm not behind a proxy/firewall.
If you google the problem you willl see that a LOT of windows users are facing
the same issue (check stackoverflow). Google is missing a lot of potential
customers because of this. Pls help.
Original comment by rset...@gmail.com
on 16 Jan 2016 at 12:04
Thanks for reporting the issue.
BadStatusLine error is produced by python httplib library.
Can you try alternative installation method:
https://cloud.google.com/sdk/#install-archive
which does not use installer.
Also if you experience an issue can you include content of
C:\Users\USER\AppData\Roaming\gcloud\logs\* files.
I tried searching stackoverflow for similar issues but could not find. Would
you mind adding few links with similar issues you found.
Thanks.
Original comment by che...@google.com
on 19 Jan 2016 at 4:17
I tried the "Installation from an archive (.zip) on Windows" as suggested above
- still getting same error. Attaching the command line output and log files.
I tried using standalone python and anaconda python (using PATH) - same error.
16.08.54.456000.log: using normal standalone python
15.36.27.683000.log: using Anaconda distribution of Python
Original comment by rset...@gmail.com
on 24 Jan 2016 at 12:30
Attachments:
Hi There, Can someone pls respond. I'm about to start a bigdata project - If
you cannot help me i unfortunately have to go with AWS again.
Original comment by rset...@gmail.com
on 1 Feb 2016 at 6:24
Sorry for delayed response. I was just looking into your error.
As I understand you are running install inside GCE VM. Just curious why you
need to do that, given that GCE instances come preinstalled with it.
But it should still be possible to install/reinstall.
Can you set
set CLOUDSDK_CORE_CHECK_GCE_METADATA=false
in your environment before installing.
It seems failure is occurring during check to GCE metadata server. This would
bypass this codepath.
Note that on GCE vms you still want to use service accounts, which what GCE
metadata server facilitates.
Original comment by che...@google.com
on 1 Feb 2016 at 6:53
Hello,
I'm not installing from a GCE VM. I'm directly installing from in window laptop
running Windows 7.
I tried setting the above environment variable var
(CLOUDSDK_CORE_CHECK_GCE_METADATA=false): now i'm getting some kind of ssl
related error. Attaching the logs. Pls help.
Original comment by rset...@gmail.com
on 2 Feb 2016 at 5:28
Attachments:
IS it possible to get on a Google hangout/skype call to resolve this pls?
Original comment by rset...@gmail.com
on 2 Feb 2016 at 5:42
I have sent you email privately. We can continue troubleshooting there.
Original comment by che...@google.com
on 2 Feb 2016 at 7:29
i'm behiend a firewall. and
i run :
gcloud auth-login --no-launch-browser
then it says invalid choice"auth-login"
Original comment by vio...@gmail.com
on 16 Mar 2016 at 1:38
> gcloud auth-login --no-launch-browser
> then it says invalid choice"auth-login"
note that there is no dash after 'auth'.
Can you file new issue, describing your case.
Original comment by che...@google.com
on 16 Mar 2016 at 1:57
Original issue reported on code.google.com by
car...@idea.me
on 15 Oct 2015 at 1:34