Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/docker/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在docker容器内运行时偶尔出现gRPC未知错误_Docker_Grpc_Grpc Python - Fatal编程技术网

在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

我正在尝试连接运行在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
    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: