ServerReflectionInfo rpc failed. Error code: 14, message: failed to connect to all addresses

271 views
Skip to first unread message

jun...@google.com

unread,
Jun 17, 2019, 7:13:14 PM6/17/19
to grpc.io
Hi,
I got the following error when running the command:
grpc_cli ls xx.xx.xx.xx:5678

E0617 22:59:51.243006   41726 loas_util.cc:468] generic::not_found: Role is invalid: .
E0617 22:59:51.250910   41761 loas_util.cc:468] generic::not_found: Role is invalid: .
E0617 22:59:51.262319   41726 loas_util.cc:440] generic::not_found: Role is invalid: .
E0617 22:59:51.294310   41828 loas_util.cc:440] generic::not_found: Role is invalid: .
E0617 22:59:51.295007   41827 naming_service.cc:1168] Unexpected service config health received for xx.xx.xx.xx:5678
Received an error when querying services endpoint.
ServerReflectionInfo rpc failed. Error code: 14, message: failed to connect to all addresses, debug info: {"created":"@1560812406.728533687","description":"Failed to pick subchannel","file":"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc","file_line":3378,"referenced_errors":[{"created":"@1560812406.728372027","description":"failed to connect to all addresses","file":"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":453,"grpc_status":14}]}

I followed the instructions at https://github.com/grpc/grpc/blob/master/doc/server_reflection_tutorial.md to enable the reflection service.

Can anyone tell me how to debug this issue?

Thanks,

Jun

Jun Xie

unread,
Jun 17, 2019, 9:18:09 PM6/17/19
to grpc.io
Update:
The error messages are:
Received an error when querying services endpoint.
ServerReflectionInfo rpc failed. Error code: 14, message: Connect Failed, debug info: {"created":"@1560820196.552623776","description":"Failed to create subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":2715,"referenced_errors":[{"created":"@1560820196.552618264","description":"failed to connect to all addresses","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":456,"referenced_errors":[{"created":"@1560820196.552537685","description":"Connect Failed","file":"src/core/ext/filters/client_channel/subchannel.cc","file_line":963,"grpc_status":14,"referenced_errors":[{"created":"@1560820196.552421025","description":"Failed to connect to remote host: Connection timed out","errno":110,"file":"src/core/lib/iomgr/tcp_client_posix.cc","file_line":212,"os_error":"Connection timed out","syscall":"getsockopt(SO_ERROR)","target_address":"ipv4:xx.xx.xx.xx:5678"}]}]}]}
Reply all
Reply to author
Forward
0 new messages