AWS Iot device continues to run into this error 'Server connection closed code [event stream rpc connection has encountered a protocol error]: [Id 422427, Class ServerConnection, Refs 1](2023-09-16T00:00:23.717Z) - <null>', This causes our IoT device to fail to transmit data to the cloud. Following this error we see downstream exceptions that seem to be relate:
uds_IPC_error_callback,x CBCBCBErr IPCError (message received = Processing messages from the Greengrass Core resulted in error: Failed with EVENT_STREAM_RPC_CRT_ERROR, the CRT error was libaws-c-event-stream: AWS_ERROR_EVENT_STREAM_RPC_PROTOCOL_ERROR, event stream rpc connection has encountered a protocol error
[WARN] [2023-09-16T14:03:28Z] [73aff3c0] [event-stream-rpc-client] - id=0x6d247620: a stream id was received that corresponds to an already-closed stream"
Info:
Greengrass Nucleus version 2.10.1
Greengrass StreamManager version 2.1.5
This problem has occurred 3 times in the last 4 days.
Python environment
Error being raised by software.amazon.awssdk.eventstreamrpc.RpcServer
Unable to reproduce manually
Does anyone know why our device would run into RPC protocol errors? The logs are not descriptive enough to determine the root cause