AWS Greengrass RPC server protocol error

0

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

    1. What is your client code doing as it relates to Greengrass IPC? Please provide some code.
    2. Do you retry any failed Greengrass IPC operations, if so, does a retry work?
    3. How often do you see this problem?
    4. Is the issue reproducible?
    5. What language are you using and what version of the IoT Device SDK are you using?
    6. Where is the error being raised? Show a stacktrace for the error.
    7. What version of Greengrass Nucleus are you using?
Jshomer
asked 7 months ago124 views
No Answers

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