I need to get grpc to run on a company machine with a proxy, and basically any network communication will go through the proxy for screening. Both grpc server and client run on the same machine.
In this case the grpc does not work on my machine. The sever can start to listen, but the client cannot find the server and returns "unavailable" error.
How do I get grpc client to find the server in this case? I am using python 3.6 and the latest version of grpc from "pip install".
Can you disable proxy for localhost
via no_proxy=localhost
environment variable?
I'm going to close this issue since we haven't heard back. Please ping if the issue remains unresolved, although Stack Overflow remains the preferred venue over GitHub for questions as opposed to issues regarding gRPC.
We finally get it to work. Have to use "http_proxy= " before the line that execute the server or client. no_proxy does not work, we don't know why.
Most helpful comment
We finally get it to work. Have to use "http_proxy= " before the line that execute the server or client. no_proxy does not work, we don't know why.