issues initializing gcloud init on MacOS Sierra

205 views
Skip to first unread message

Eseoghene Mentie

unread,
Feb 6, 2017, 3:42:49 PM2/6/17
to Google Cloud Developers
Hello

I just installed Google cloud SDK on my MAC following the steps in https://cloud.google.com/sdk/downloads#interactive

I ran gcloud init, logged in and allowed authentication, the browser came up and the message 

ERR_CONNECTION_REFUSED displayed

See attached screen shot for more details

I have done some troubleshooting on my laptop, I dont have a proxy, neither do I have a firewall running.
I even stopped Apache on my local machine but have not been able to find the cause of the issue.

Any help would be greatly appreciated!


localhost 2017-02-06 21-30-24.png

Zachary Newman

unread,
Feb 6, 2017, 3:44:53 PM2/6/17
to Eseoghene Mentie, Google Cloud Developers
You should be able to use `gcloud auth login --no-launch-browser` to work around this.

What's the output from the gcloud end? Anything?

--
You received this message because you are subscribed to the Google Groups "Google Cloud Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-dev/0ffad9d8-2ec4-4c55-91ac-9edea84b7c61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eseoghene Mentie

unread,
Feb 6, 2017, 4:03:18 PM2/6/17
to Google Cloud Developers, ese.m...@gmail.com
Ahh thank you, 

I was able to work around it with the no-launch-browser flag.

Now successfully authorized my account with gcloud


On Monday, February 6, 2017 at 9:44:53 PM UTC+1, Zachary Newman wrote:
You should be able to use `gcloud auth login --no-launch-browser` to work around this.

What's the output from the gcloud end? Anything?
On Mon, Feb 6, 2017 at 3:37 PM, Eseoghene Mentie <ese.m...@gmail.com> wrote:
Hello

I just installed Google cloud SDK on my MAC following the steps in https://cloud.google.com/sdk/downloads#interactive

I ran gcloud init, logged in and allowed authentication, the browser came up and the message 

ERR_CONNECTION_REFUSED displayed

See attached screen shot for more details

I have done some troubleshooting on my laptop, I dont have a proxy, neither do I have a firewall running.
I even stopped Apache on my local machine but have not been able to find the cause of the issue.

Any help would be greatly appreciated!


--
You received this message because you are subscribed to the Google Groups "Google Cloud Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-d...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages