You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.
My OS_AUTH_URL is accessible only through proxy so I tried to set both http_proxy and HTTP_PROXY env vars, but none of them was accepted by docker-machine (docker/machine#4040
), which uses gophercloud for Openstack management.
After a long while, I figured out that golang's HTTPClient as used in gophercloud completely ignores those settings and googled that one has to use:
My
OS_AUTH_URL
is accessible only through proxy so I tried to set bothhttp_proxy
andHTTP_PROXY
env vars, but none of them was accepted by docker-machine (docker/machine#4040), which uses gophercloud for Openstack management.
After a long while, I figured out that golang's
HTTPClient
as used in gophercloud completely ignores those settings and googled that one has to use:so go picks http_proxy from env vars.
I've added the mentioned construct to https://github.com/rackspace/gophercloud/blob/master/provider_client.go#L190 and it started working for me.
Can someone responsible pick the right place to add this line to the code?
Thanks
The text was updated successfully, but these errors were encountered: