disable grpc client from using proxy settings
This commit is contained in:
parent
0e74212c43
commit
583a552bdb
1 changed files with 3 additions and 1 deletions
|
@ -1035,7 +1035,9 @@ class CoreGrpcClient:
|
||||||
|
|
||||||
:return: nothing
|
: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)
|
self.stub = core_pb2_grpc.CoreApiStub(self.channel)
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
|
|
Loading…
Reference in a new issue