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
已提問 8 個月前檢視次數 126 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南