greengrasssdk.stream_manager.exceptions.UnknownFailureException: Broken bit parity

0

Hi there

I have some problem with stream manager in ggv1, I can fix this after I reboot the device. However I dont think this is a good solution. Do you have any suggestion where I can look into

[2022-04-01T09:19:31.876+11:00][INFO]-imageCamera.py:108,>>> Get frame atm hour:9 - sleep_time:11 s
[2022-04-01T09:19:31.876+11:00][INFO]-imageCamera.py:112,>>> Frame size from rtsp: (720, 1280, 3)
[2022-04-01T09:19:31.889+11:00][INFO]-imageCamera.py:119,>>> Resized farme: (720, 1280, 3)
[2022-04-01T09:19:32.002+11:00][INFO]-imageCamera.py:144, >>>>> realite-data-image Sleep time: 60 - payload size: 189004
[2022-04-01T09:19:32.002+11:00][INFO]-Response: 1065
[2022-04-01T09:19:39.336+11:00][INFO]-lambda_runtime.py:366,Caught signal 15. Stopping runtime.
[2022-04-01T09:20:22.061+11:00][INFO]-imageCamera.py:173,>> Getting hub config ...
[2022-04-01T09:20:22.064+11:00][INFO]-ipc_client.py:167,Posting work for function [:function:secret_loader] to http://localhost:8000/2016-11-01/functions/arn:aws:lambfunction:secret_loader
[2022-04-01T09:20:22.078+11:00][INFO]-ipc_client.py:177,Work posted with invocation id [14ce6b2c-add7-4dc0-452d-be84d2700e4e]
[2022-04-01T09:20:22.078+11:00][INFO]-ipc_client.py:290,Getting work result for invocation id [14ce6b2c-add7-4dc0-452d-be84d2700e4e] from http://localhost:8000/2016-11-01/functions/arn:aws:lambda:ap:function:secret_loader
[2022-04-01T09:20:26.32+11:00][INFO]-ipc_client.py:298,Got result for invocation id [14ce6b2c-add7-4dc0-452d-be84d2700e4e]
[2022-04-01T09:20:26.321+11:00][INFO]-imageCamera.py:175,>> Done ...
[2022-04-01T09:20:26.321+11:00][INFO]-imageCamera.py:180,Setup tranfer stream
[2022-04-01T09:20:26.628+11:00][INFO]-imageCamera.py:151, >>> Stream list: ['kstream1']
[2022-04-01T09:20:27.291+11:00][ERROR]-imageCamera.py:209, >>>>> Exception while running: Broken bit parity
[2022-04-01T09:20:27.291+11:00][ERROR]-Traceback (most recent call last):
[2022-04-01T09:20:27.291+11:00][ERROR]-  File "/greengrass/ggc/deployment/lambda/.imageCamera.14/imageCamera.py", line 182, in main
[2022-04-01T09:20:27.291+11:00][ERROR]-    stream_client=setup_data_stream(stream_name,kinesis_stream_name)
[2022-04-01T09:20:27.291+11:00][ERROR]-  File "/greengrass/ggc/deployment/lambda/.function.imageCamera.14/imageCamera.py", line 154, in setup_data_stream
[2022-04-01T09:20:27.291+11:00][ERROR]-    client.delete_message_stream(stream_name=stream_name)
[2022-04-01T09:20:27.291+11:00][ERROR]-  File "/greengrass/ggc/deployment/lambda/arn.aws.lambda.ap-southeast-Camera.14/greengrasssdk/stream_manager/streammanagerclient.py", line 448, in delete_message_stream
[2022-04-01T09:20:27.291+11:00][ERROR]-    return Util.sync(self._delete_message_stream(stream_name), loop=self.__loop)
[2022-04-01T09:20:27.291+11:00][ERROR]-  File "/greengrass/ggc/deployment/lambda/.function.imageCamera.14/greengrasssdk/stream_manager/util.py", line 28, in sync
[2022-04-01T09:20:27.291+11:00][ERROR]-    return asyncio.run_coroutine_threadsafe(coro, loop=loop).result()
[2022-04-01T09:20:27.291+11:00][ERROR]-  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 432, in result
[2022-04-01T09:20:27.291+11:00][ERROR]-    return self.__get_result()
[2022-04-01T09:20:27.291+11:00][ERROR]-  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
[2022-04-01T09:20:27.291+11:00][ERROR]-    raise self._exception
[2022-04-01T09:20:27.291+11:00][ERROR]-  File "/greengrass/ggc/deployment/lambda/arn.aws.lambda.ap-southeast-2era.14/greengrasssdk/stream_manager/streammanagerclient.py", line 352, in _delete_message_stream
[2022-04-01T09:20:27.291+11:00][ERROR]-    Util.raise_on_error_response(delete_stream_response)
[2022-04-01T09:20:27.291+11:00][ERROR]-  File "/greengrass/ggc/deployment/lambda/ar.imageCamera.14/greengrasssdk/stream_manager/util.py", line 148, in raise_on_error_response
[2022-04-01T09:20:27.291+11:00][ERROR]-    raise UnknownFailureException(response.error_message, response.status, response.request_id)
[2022-04-01T09:20:27.291+11:00][INFO]-imageCamera.py:210,>>> restart module after 10s

  • Hi, Can you please provide the following information:

    1. GGC version that you are running
    2. Device information (OS, CPU, RAM, etc.)
    3. How long after reboot does it take for the issue to occur
    4. Steps to reproduce the issue, if any.
  • Hi, Can you please explain the scenario? What are you trying to do in code? (if you can include a snipper of code that will be very helpful). Do you have concrete steps to reproduce the issue?

    Can you also provide logs for greengrass? Here is how you can locate the logs: https://docs.aws.amazon.com/greengrass/v1/developerguide/greengrass-logs-overview.html#gg-logs-local I am interested mostly in the Stream Manager logs.

asked 2 years ago30 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