issue with voxl streamer not reconnecting
-
This post is related to this two -> https://forum.modalai.com/topic/827/sdk-version-1-1-3-issues-video-stream-breaks-reboot-issue?_=1670922006202 and https://forum.modalai.com/topic/770/streaming-stopping-after-running-once. It seems that whenever connection with the streamer is lost, it does not reconnect automatically. It requires I manually restart the voxl-streamer service and the cycle continues. There seem to be no fix currently.
You can see the systemctl logs of the voxl streamer below.Dec 13 08:55:32 robot133 systemd[1]: Starting voxl-streamer... Dec 13 08:55:37 robot133 systemd[1]: Started voxl-streamer. Dec 13 08:55:37 robot133 voxl-streamer[7421]: Camera server Connected Dec 13 08:55:37 robot133 voxl-streamer[7421]: Stream available at rtsp://127.0.0.1:8900/live Dec 13 08:55:37 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:55:37 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:55:38 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:55:38 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:55:38 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:55:38 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:55:38 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:55:38 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:26 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:56:26 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:26 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:26 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:26 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:26 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:26 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:26 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:26 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:29 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:56:29 robot133 voxl-streamer[7421]: An existing client has disconnected from the RTSP server Dec 13 08:56:29 robot133 voxl-streamer[7421]: instance with invalid (NULL) class pointer Dec 13 08:56:29 robot133 voxl-streamer[7421]: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed Dec 13 08:56:29 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:29 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:29 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:29 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:29 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:29 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:29 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:33 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:56:33 robot133 voxl-streamer[7421]: An existing client has disconnected from the RTSP server Dec 13 08:56:33 robot133 voxl-streamer[7421]: instance with invalid (NULL) class pointer Dec 13 08:56:33 robot133 voxl-streamer[7421]: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed Dec 13 08:56:33 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:33 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:33 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:33 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:33 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:33 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:33 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:37 robot133 voxl-streamer[7421]: An existing client has disconnected from the RTSP server Dec 13 08:56:37 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:56:37 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:37 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:37 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:41 robot133 voxl-streamer[7421]: An existing client has disconnected from the RTSP server Dec 13 08:56:41 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:56:41 robot133 voxl-streamer[7421]: instance with invalid (NULL) class pointer Dec 13 08:56:41 robot133 voxl-streamer[7421]: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed Dec 13 08:56:41 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:41 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:41 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:41 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:41 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:41 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:41 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:41 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:45 robot133 voxl-streamer[7421]: An existing client has disconnected from the RTSP server Dec 13 08:56:45 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:56:45 robot133 voxl-streamer[7421]: instance with invalid (NULL) class pointer Dec 13 08:56:45 robot133 voxl-streamer[7421]: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed Dec 13 08:56:45 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:45 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:45 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:49 robot133 voxl-streamer[7421]: An existing client has disconnected from the RTSP server Dec 13 08:56:49 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:56:49 robot133 voxl-streamer[7421]: instance with invalid (NULL) class pointer Dec 13 08:56:49 robot133 voxl-streamer[7421]: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed Dec 13 08:56:49 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:49 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:49 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:49 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:53 robot133 voxl-streamer[7421]: An existing client has disconnected from the RTSP server Dec 13 08:56:53 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:56:53 robot133 voxl-streamer[7421]: instance with invalid (NULL) class pointer Dec 13 08:56:53 robot133 voxl-streamer[7421]: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed Dec 13 08:56:53 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:53 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:53 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:57 robot133 voxl-streamer[7421]: An existing client has disconnected from the RTSP server Dec 13 08:56:57 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:56:57 robot133 voxl-streamer[7421]: instance with invalid (NULL) class pointer Dec 13 08:56:57 robot133 voxl-streamer[7421]: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed Dec 13 08:56:57 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:57 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:57 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:57 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:56:57 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:01 robot133 voxl-streamer[7421]: An existing client has disconnected from the RTSP server Dec 13 08:57:01 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:57:01 robot133 voxl-streamer[7421]: instance with invalid (NULL) class pointer Dec 13 08:57:01 robot133 voxl-streamer[7421]: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed Dec 13 08:57:01 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:01 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:01 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:01 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:05 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:57:05 robot133 voxl-streamer[7421]: An existing client has disconnected from the RTSP server Dec 13 08:57:05 robot133 voxl-streamer[7421]: instance with invalid (NULL) class pointer Dec 13 08:57:05 robot133 voxl-streamer[7421]: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed Dec 13 08:57:05 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:05 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:05 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:05 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:05 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:05 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:09 robot133 voxl-streamer[7421]: An existing client has disconnected from the RTSP server Dec 13 08:57:09 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:57:09 robot133 voxl-streamer[7421]: instance with invalid (NULL) class pointer Dec 13 08:57:09 robot133 voxl-streamer[7421]: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed Dec 13 08:57:09 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:09 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:09 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:09 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:13 robot133 voxl-streamer[7421]: An existing client has disconnected from the RTSP server Dec 13 08:57:13 robot133 voxl-streamer[7421]: ERROR: New frame rejected Dec 13 08:57:13 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:57:13 robot133 voxl-streamer[7421]: ERROR: New frame rejected Dec 13 08:57:13 robot133 voxl-streamer[7421]: instance with invalid (NULL) class pointer Dec 13 08:57:13 robot133 voxl-streamer[7421]: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed Dec 13 08:57:13 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:13 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:13 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:13 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:17 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:57:17 robot133 voxl-streamer[7421]: ERROR: New frame rejected Dec 13 08:57:17 robot133 voxl-streamer[7421]: An existing client has disconnected from the RTSP server Dec 13 08:57:17 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:17 robot133 voxl-streamer[7421]: gbm_create_device(156): Info: backend name is: msm_drm Dec 13 08:57:21 robot133 voxl-streamer[7421]: ERROR: New frame rejected Dec 13 08:57:21 robot133 voxl-streamer[7421]: A new client has connected to the RTSP server Dec 13 08:57:21 robot133 voxl-streamer[7421]: An existing client has disconnected from the RTSP server Dec 13 08:57:21 robot133 voxl-streamer[7421]: ERROR: New frame rejected Dec 13 08:57:21 robot133 voxl-streamer[7421]: instance with invalid (NULL) class pointer Dec 13 08:57:21 robot133 voxl-streamer[7421]: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
-
It would be nice to have at least the service failing when this happens, so we can detect the issue and restart the service.
-
This post is deleted! -
@Chad-Sweet we found a solution for this. We had to make. A more detailled description of the issue can be found here->https://forum.modalai.com/topic/1647/voxl-streamer-does-not-handle-teardown-request-signal-correctly/2. We can share this patch if necessary.
-