Deepstream didn't work when some rtsp source invalid

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) AGX
• DeepStream Version 5.1
• JetPack Version (valid for Jetson only) 4.3
• TensorRT Version 7.1
• NVIDIA GPU Driver Version (valid for GPU only) 10.2
• Issue Type( questions, new requirements, bugs)

when i add two rtsp stream on deepstream-app, when the two sources is valid it work well, but when one is valid and
the another is invalid , deepstream can not work well on the valid stream , there is no stream output.

• 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)

Can you upload the log with error?

Fri Aug 27 18:00:43 2021
**PERF: 0.00 (1.07) 0.00 (0.00)
Fri Aug 27 18:00:48 2021
**PERF: 0.00 (0.72) 0.00 (0.00)
Fri Aug 27 18:00:53 2021
**PERF: 0.00 (0.54) 0.00 (0.00)
Fri Aug 27 18:00:58 2021
**PERF: 0.00 (0.43) 0.00 (0.00)
Fri Aug 27 18:01:03 2021
**PERF: 0.00 (0.36) 0.00 (0.00)
Fri Aug 27 18:01:08 2021
**PERF: 0.00 (0.31) 0.00 (0.00)
Fri Aug 27 18:01:13 2021
**PERF: 0.00 (0.27) 0.00 (0.00)
Fri Aug 27 18:01:18 2021
**PERF: 0.00 (0.24) 0.00 (0.00)
Fri Aug 27 18:01:23 2021
**PERF: 0.00 (0.22) 0.00 (0.00)
Fri Aug 27 18:01:28 2021
**PERF: 0.00 (0.20) 0.00 (0.00)
Fri Aug 27 18:01:33 2021
**PERF: 0.00 (0.18) 0.00 (0.00)
** WARN: <watch_source_status:614>: No data from source 0 since last 60 sec. Trying reconnection
** INFO: <reset_source_pipeline:1155>: Resetting source 0
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
Opening in BLOCKING MODE
Opening in BLOCKING MODE
** INFO: <reset_source_pipeline:1155>: Resetting source 1
Fri Aug 27 18:01:38 2021
**PERF: 0.03 (0.20) 0.00 (0.00)
ERROR from src_elem1: Could not open resource for reading and writing.
Debug info: gstrtspsrc.c(7469): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin1/GstRTSPSrc:src_elem1:
Failed to connect. (Generic error)

This is my test log, you can reproduce this problem simply.

Thanks

Hi Fiona,
have you reproduce the problem ?

Hi,have you solved this problem ?

Not yet, I dont konw how to resolve the problem. I need nvidia’s help.

HI,
I can not repro your issue. by providing one valid rtsp camera, one invalid rtsp camera, it run well. did not report
Failed to connect. (Generic error)
Did you use original sample or your own?

**PERF: FPS 0 (Avg) FPS 1 (Avg)
**PERF: 0.00 (0.00) 0.00 (0.00)
** INFO: <bus_callback:181>: Pipeline ready

ERROR from src_elem1: Unhandled error
Debug info: gstrtspsrc.c(6161): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin1/GstRTSPSrc:src_elem1:
Internal Server Error (500)
** INFO: <reset_source_pipeline:1433>: Resetting source 1
ERROR from src_elem1: Unhandled error
Debug info: gstrtspsrc.c(6161): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin1/GstRTSPSrc:src_elem1:
Internal Server Error (500)
**PERF: 25.09 (25.06) 0.00 (0.00)
**PERF: 24.91 (24.92) 0.00 (0.00)
**PERF: 24.90 (24.95) 0.00 (0.00)
**PERF: 24.90 (24.91) 0.00 (0.00)
**PERF: 24.90 (24.93) 0.00 (0.00)
**PERF: 24.90 (24.90) 0.00 (0.00)
**PERF: 24.90 (24.92) 0.00 (0.00)
**PERF: 24.89 (24.90) 0.00 (0.00)
**PERF: 24.90 (24.91) 0.00 (0.00)
**PERF: 24.89 (24.90) 0.00 (0.00)
**PERF: 24.89 (24.91) 0.00 (0.00)
**PERF: 24.89 (24.90) 0.00 (0.00)
** INFO: <reset_source_pipeline:1433>: Resetting source 1
ERROR from src_elem1: Unhandled error
Debug info: gstrtspsrc.c(6161): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin1/GstRTSPSrc:src_elem1:
Internal Server Error (500)
**PERF: 24.90 (24.91) 0.00 (0.00)
**PERF: 24.90 (24.90) 0.00 (0.00)
**PERF: 24.90 (24.91) 0.00 (0.00)
**PERF: 24.90 (24.90) 0.00 (0.00)
**PERF: 24.90 (24.91) 0.00 (0.00)
**PERF: 24.91 (24.90) 0.00 (0.00)
**PERF: 24.90 (24.90) 0.00 (0.00)

**PERF: FPS 0 (Avg) FPS 1 (Avg)
**PERF: 24.90 (24.90) 0.00 (0.00)
**PERF: 24.90 (24.90) 0.00 (0.00)
**PERF: 24.90 (24.90) 0.00 (0.00)
**PERF: 24.90 (24.90) 0.00 (0.00)
**PERF: 24.90 (24.91) 0.00 (0.00)
** INFO: <reset_source_pipeline:1433>: Resetting source 1
ERROR from src_elem1: Unhandled error
Debug info: gstrtspsrc.c(6161): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin1/GstRTSPSrc:src_elem1:
Internal Server Error (500)
**PERF: 24.90 (24.90) 0.00 (0.00)
**PERF: 24.90 (24.91) 0.00 (0.00)
**PERF: 24.90 (24.90) 0.00 (0.00)
q