Link to home
Start Free TrialLog in
Avatar of Zack
ZackFlag for Australia

asked on

Gcloud setting the proxy.

Heyas,

I have installed the Google Cloud SDK on my system and when I type in the command gcloud I get the following response, see screenshot. I have changed the environment variables as the stackoverflow forum entry advised: http://stackoverflow.com/questions/23433998/gcloud-is-not-recognized-as-an-internal-or-external-command

Then I realized perhaps it was the proxy I was behind.  Running the following python command see screenshot, I got a proxy auth required message. How does one set the proxy details in Gcloud?

Thank you.
Gcloud-command-fail.PNG
Windows-Environment-Variables.PNG
Proxy-Auth.PNG
Avatar of Koen Van Wielink
Koen Van Wielink
Flag of Netherlands image

I'm assuming you're running the latest version of the SDK, but just in case, I discovered this issue report from Google:

https://code.google.com/p/google-cloud-sdk/issues/detail?id=50

Can you try to run the update command and see if the issue goes away? From what I gather under normal circumstances the SDK would just use your system proxy settings.
Avatar of Zack

ASKER

Hi Koen,

Yes using the latest SDK ran the update command no change.

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Koen Van Wielink
Koen Van Wielink
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Zack

ASKER

Unfortunately I had to use my mobile phone as my network admin refused me access to the Cisco router my last point of investigation. Thanks for the help anyway.