今天在使用rpc功能的时候,出现了下面的问题:
......
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "connections to all backends failing"
debug_error_string = "{"created":"@1641475038.124005663","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":5420,"referenced_errors":[{"created":"@1641475038.123999296","description":"connections to all backends failing","file":"src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc","file_line":336,"grpc_status":14}]}"
解决方法
unset http_proxy; unset https_proxy;
然后重新运行,可能是设置了代理的原因。