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
Hi,
This is almost same as below issue, but to make title more general, please allow me to create this issue. #5348
When we want to change proxy setting (from internal network) with this library, we need to change global env variables
Like export HTTPS_PROXY=http://xx.xx.xx.xx in bash, os.environ["HTTPS_PROXY"]= "http://xx.xx.xx.xx" in python.
That affect to other threads and it is painful for me.
Actually, another python library[1] allows us to use local proxy with configuring httplib2. This doesn't affect to other threads.
The maintainers of [1] recommend us to use this google-cloud-python in Readme.
But this proxy issue is the one of the biggest issue and we cannot migrate actually.
I hope team enable us to set proxy without changing global data but by passing argument etc.
(Actually, I have already communicated Google Cloud Support )
Thank you for opening an issue. The Google Cloud libraries use gRPC under the hood, so the easiest way to set proxy settings is to do so through one of the gRPC environment variables.
@lidiz Is there a way to set proxy settings for gRPC without using the env vars? I took a pass through MD files in https://github.com/grpc/grpc but was not able to find anything.
Hi,
This is almost same as below issue, but to make title more general, please allow me to create this issue.
#5348
When we want to change proxy setting (from internal network) with this library, we need to change global env variables
Like export HTTPS_PROXY=http://xx.xx.xx.xx in bash, os.environ["HTTPS_PROXY"]= "http://xx.xx.xx.xx" in python.
That affect to other threads and it is painful for me.
Actually, another python library[1] allows us to use local proxy with configuring
httplib2
. This doesn't affect to other threads.The maintainers of [1] recommend us to use this
google-cloud-python
in Readme.But this proxy issue is the one of the biggest issue and we cannot migrate actually.
I hope team enable us to set proxy without changing global data but by passing argument etc.
(Actually, I have already communicated Google Cloud Support )
[1] https://github.com/googleapis/google-api-python-client
The text was updated successfully, but these errors were encountered: