在docker容器内运行时偶尔出现gRPC未知错误
我正在尝试连接运行在docker中的gRPC服务器。但是,我有时会出现以下错误:在docker容器内运行时偶尔出现gRPC未知错误,docker,grpc,grpc-python,Docker,Grpc,Grpc Python,我正在尝试连接运行在docker中的gRPC服务器。但是,我有时会出现以下错误: File "xxx/grpc/_channel.py", line 826, in __call__ return _end_unary_response_blocking(state, call, False, None) File "xxx/grpc/_channel.py", line 729, in _end_unary_response_blocking
File "xxx/grpc/_channel.py", line 826, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "xxx/grpc/_channel.py", line 729, in _end_unary_response_blocking
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "Error in service handler!"
debug_error_string = "{"created":"@1599177910.752607903","description":"Error received from peer ipv6:[::1]:50096","file":"src/core/lib/surface/call.cc","file_line":1062,"grpc_message":"Error in service handler!","grpc_status":2}"
调用中第826行的文件“xxx/grpc/_channel.py”__
返回\u结束\u一元\u响应\u阻塞(状态、调用、错误、无)
文件“xxx/grpc/_channel.py”,第729行,一元响应
raise\u InactiveRpcError(状态)
grpc.\u信道。\u不活动覆盖PCERROR: