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ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ