By using AWS re:Post, you agree to the Terms of Use

failed to connect to all addresses error



When using Greengrass v2 with Sagemaker component the intermittent error below is seen when the device powers off and on. Could you please advise what could be the possible errors?

eturn self.client.ListModels(agent_pb2.ListModelsRequest()) File "/usr/local/lib/python3.6/dist-packages/grpc/", line 923, in call return _end_unary_response_blocking(state, call, False, None) File "/usr/local/lib/python3.6/dist-packages/grpc/", line 826, in _end_unary_response_blocking raise _InactiveRpcError(state) grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with: status = StatusCode.UNAVAILABLE details = "failed to connect to all addresses" debug_error_string = "{"created":"@1650457997.824138381","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/","file_line":4143,"referenced_errors":[{"created":"@1650457988.031111729","description":"failed to connect to all addresses","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/","file_line":398,"grpc_status":14}]}"

1 Answer


Would you be able to provide the full log at /greengrass/v2/logs/aws.greengrass.SageMakerEdgeManager.log , along with any other relevant log files? Could you also turn on the debug mode with the SagemakerEdgeLogVerbose config option specified here?

Are there any other applications that could interfere with that socket?


answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions