Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 7.1
• JetPack Version (valid for Jetson only)
• TensorRT Version (comes with DeepStream 7.1 container)
• NVIDIA GPU Driver Version (valid for GPU only) 570.172.08
• Issue Type( questions, new requirements, bugs) questions
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
Hi DeepStream team,
I’m using nvmsgbroker with MQTT in a DeepStream pipeline.
Everything runs fine at first, but after about 15–30 minutes, the MQTT connection drops. When that happens, nvmsgbroker fails to publish and the whole DeepStream pipeline shuts down.
Error sending repeat publish: The client is not currently connected.Error: gst-library-error-quark: GStreamer encountered a general supporting library error. (1): gstnvmsgbroker.cpp(559): legacy_gst_nvmsgbroker_render (): /GstPipeline:pipeline0/GstNvMsgBroker:nvmsg-broker:
failed to send the message. err(1)
[SHUTDOWN] Stopping pipeline...
Error disconnecting: (The client is not currently connected.).
Stopping the server..!!
Stopped the server..!!
[SHUTDOWN] Pipeline stopped
I’ve seen that MQTT reconnection isn’t supported yet.
I have searched and read many forum posts related to this same problem. Most suggested workarounds are not reliable for long-running deployment.
The most recent related post I found is from Alex:
I understand he implemented a solution, but the patch is not shared publicly, so I’m still struggling with the same issue.
I also tried enabling detailed MQTT logs following this post:
However, after enabling that logging, my pipeline started hitting a segmentation fault instantly after start, I’m struggling how to turn off that log.
So for now, I would also like to ask: how can I temporarily disable that MQTT debug logging to avoid the segfault?
Coming back to the main issue — I really need:
-
MQTT automatic reconnection
-
No DeepStream pipeline shutdown when MQTT disconnects
Could you please share a patch that implements this behavior? I’m using DS 7.1
I’m not experienced in modifying internal DeepStream / GStreamer plugin code, so having a working patch would help a lot.
Thanks for your time and support.
UPDATE: latest log before crash
![]()
