gana2188 / google-cloud-sdk

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

support for http/https proxies #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Tried to install gce on a corporate network with all outbound http traffic 
required to go via proxies, and it doesn't appear that the sdk has any support 
for such (grepped through the src). it would be nice if it supported standard 
(at least on linux) env vars (http_proxy/https_proxy) or a minimum a cli flag, 
the underlying transport libs that are being used all seem to support.

Original issue reported on code.google.com by kapil.th...@canonical.com on 4 Dec 2013 at 8:18

GoogleCodeExporter commented 9 years ago
it looks like httplib2 should do this automatically.

Original comment by kapil.th...@canonical.com on 4 Dec 2013 at 8:33

GoogleCodeExporter commented 9 years ago

Original comment by jasm...@google.com on 4 Dec 2013 at 9:09

GoogleCodeExporter commented 9 years ago
We pushed an update that should fix the issue with using proxies for gcloud 
auth.  Just to confirm, you are seeing problems when installing the Cloud SDK 
(using the component manager before trying to authenticate)?  We use the 
standard Python urllib2 which should automatically support the standard 
environment variables.  If you are still having an issue, please post a stack 
trace so we can debug further.

Original comment by markp...@google.com on 4 Dec 2013 at 10:47

GoogleCodeExporter commented 9 years ago
i was able to successfully install and use gcloud auth to login with the 
proxy.. good to go, thanks.

Original comment by kapil.th...@canonical.com on 4 Dec 2013 at 11:09