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회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인