disable grpc client from using proxy settings

This commit is contained in:
Blake Harnden 2020-01-10 20:25:34 -08:00
parent 0e74212c43
commit 583a552bdb

View file

@ -1035,7 +1035,9 @@ class CoreGrpcClient:
:return: nothing
"""
self.channel = grpc.insecure_channel(self.address)
self.channel = grpc.insecure_channel(
self.address, options=[("grpc.enable_http_proxy", 0)]
)
self.stub = core_pb2_grpc.CoreApiStub(self.channel)
def close(self):