neolink icon indicating copy to clipboard operation
neolink copied to clipboard

Updated NVR firmware, now neolink won't connect. Stream not ready and static.

Open MRobi1 opened this issue 1 year ago • 7 comments

Describe the bug I updated the firmware on my RLN16-410 NVR to v3.4.0.293_24010833. Now neolink does not seem to be able to connect to any of it's streams. The only change made was a firmware update to the NVR. Attempting to view the output I get "Stream not ready" and static. image

Seeing the development seems to be focused on docker, I spun it up the latest docker container and getting the same issue. Also tried the home assistant add-on which I believe is a slightly older docker tag. Same issue.

I've also ensured the ports are available on the NVR as well as making sure the IP has not changed. image

Versions NVR software: RLN16-410 Neolink software: 0.6.2 Reolink camera model and firmware: B800

Logs:

root@neolink:~# journalctl -u neolink --since today
-- Journal begins at Mon 2024-04-08 13:36:24 UTC, ends at Fri 2024-11-08 17:39:01 UTC. --
Nov 08 04:00:01 neolink systemd[1]: Stopping Neolink service...
Nov 08 04:00:01 neolink systemd[1]: neolink.service: Succeeded.
Nov 08 04:00:01 neolink systemd[1]: Stopped Neolink service.
Nov 08 04:00:01 neolink systemd[1]: neolink.service: Consumed 19min 59.519s CPU time.
-- Boot b2ec03a37ba941e8903b96bfbfd52dfd --
Nov 08 04:00:07 neolink systemd[1]: Started Neolink service.
Nov 08 04:00:07 neolink neolink[105]: [2024-11-08T04:00:07Z INFO  neolink] Neolink e47a0d5734b0a06b53b>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::rtsp] Starting RTSP Server >
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::rtsp] pool: Rtsp Staring
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::rtsp] side_door: Rtsp Stari>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::rtsp] side_yard: Rtsp Stari>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::rtsp] back_door: Rtsp Stari>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::rtsp] driveway_left: Rtsp S>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::rtsp] shed: Rtsp Staring
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::rtsp] hot_tub: Rtsp Staring
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::rtsp] driveway_right: Rtsp >
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z WARN  neolink::rtsp] Without a server cert>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::utils] driveway_right: Conn>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::utils] pool: Connecting to >
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::utils] back_door: Connectin>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::utils] side_door: Connectin>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink_core::bc_protocol] side_door>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink_core::bc_protocol] driveway_>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink_core::bc_protocol] pool: Try>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink_core::bc_protocol] back_door>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink_core::bc_protocol] driveway_>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink_core::bc_protocol] pool: Dis>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink_core::bc_protocol] side_door>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink_core::bc_protocol] back_door>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z WARN  neolink::common::camthread] Connecti>
Nov 08 04:00:08 neolink neolink[105]:     
Nov 08 04:00:08 neolink neolink[105]:     Caused by:
Nov 08 04:00:08 neolink neolink[105]:         Cannot contact camera at given address
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z WARN  neolink::common::camthread] Connecti>
Nov 08 04:00:08 neolink neolink[105]:     
Nov 08 04:00:08 neolink neolink[105]:     Caused by:
Nov 08 04:00:08 neolink neolink[105]:         Cannot contact camera at given address
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::common::camthread] Attempt >
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::common::camthread] Attempt >
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z WARN  neolink::common::camthread] Connecti>
Nov 08 04:00:08 neolink neolink[105]:     
Nov 08 04:00:08 neolink neolink[105]:     Caused by:
Nov 08 04:00:08 neolink neolink[105]:         Cannot contact camera at given address
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::common::camthread] Attempt >
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z WARN  neolink::common::camthread] Connecti>
Nov 08 04:00:08 neolink neolink[105]:     
Nov 08 04:00:08 neolink neolink[105]:     Caused by:
Nov 08 04:00:08 neolink neolink[105]:         Cannot contact camera at given address
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::common::camthread] Attempt >
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink::utils] side_yard: Connectin>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink_core::bc_protocol] side_yard>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z INFO  neolink_core::bc_protocol] side_yard>
Nov 08 04:00:08 neolink neolink[105]: [2024-11-08T04:00:08Z WARN  neolink::common::camthread] Connecti>
Nov 08 04:00:08 neolink neolink[105]:     
Nov 08 04:00:08 neolink neolink[105]:     Caused by:
Nov 08 04:00:08 neolink neolink[105]:         Cannot contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 50ms
4:00:08Z INFO  neolink::utils] shed: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink_core::bc_protocol] shed: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] shed: Discovery failed
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera shed at Addres>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 50ms
4:00:08Z INFO  neolink::utils] driveway_left: Connecting to camera at Address: 192.168.XX,XX:9000
4:00:08Z INFO  neolink_core::bc_protocol] driveway_left: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] driveway_left: Discovery failed
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera driveway_left >

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 50ms
4:00:08Z INFO  neolink::utils] hot_tub: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink_core::bc_protocol] hot_tub: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] hot_tub: Discovery failed
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera hot_tub at Add>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 50ms
4:00:08Z INFO  neolink::utils] back_door: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink::utils] side_door: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink_core::bc_protocol] side_door: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] back_door: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] back_door: Discovery failed
4:00:08Z INFO  neolink_core::bc_protocol] side_door: Discovery failed
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera back_door at A>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 100ms
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera side_door at A>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 100ms
4:00:08Z INFO  neolink::utils] driveway_right: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink_core::bc_protocol] driveway_right: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] driveway_right: Discovery failed
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera driveway_right>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 100ms
4:00:08Z INFO  neolink::utils] pool: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink_core::bc_protocol] pool: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] pool: Discovery failed
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera pool at Addres>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 100ms
4:00:08Z INFO  neolink::utils] hot_tub: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink::utils] shed: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink::utils] driveway_left: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink_core::bc_protocol] shed: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] driveway_left: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] shed: Discovery failed
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera shed at Addres>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 100ms
4:00:08Z INFO  neolink_core::bc_protocol] hot_tub: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] driveway_left: Discovery failed
4:00:08Z INFO  neolink_core::bc_protocol] hot_tub: Discovery failed
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera driveway_left >

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 100ms
4:00:08Z INFO  neolink::utils] side_yard: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink_core::bc_protocol] side_yard: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] side_yard: Discovery failed
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera side_yard at A>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 100ms
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera hot_tub at Add>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 100ms
4:00:08Z INFO  neolink::utils] side_door: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink::utils] back_door: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink_core::bc_protocol] side_door: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] back_door: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] back_door: Discovery failed
4:00:08Z INFO  neolink_core::bc_protocol] side_door: Discovery failed
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera back_door at A>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 200ms
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera side_door at A>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 200ms
4:00:08Z INFO  neolink::utils] pool: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink::utils] driveway_right: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink_core::bc_protocol] pool: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] pool: Discovery failed
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera pool at Addres>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 200ms
4:00:08Z INFO  neolink_core::bc_protocol] driveway_right: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] driveway_right: Discovery failed
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera driveway_right>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 200ms
4:00:08Z INFO  neolink::utils] hot_tub: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink::utils] driveway_left: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink_core::bc_protocol] hot_tub: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] hot_tub: Discovery failed
4:00:08Z INFO  neolink_core::bc_protocol] driveway_left: Trying TCP discovery
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera hot_tub at Add>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 200ms
4:00:08Z INFO  neolink_core::bc_protocol] driveway_left: Discovery failed
4:00:08Z INFO  neolink::utils] side_yard: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera driveway_left >

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 200ms
4:00:08Z INFO  neolink::utils] shed: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:08Z INFO  neolink_core::bc_protocol] side_yard: Trying TCP discovery
4:00:08Z INFO  neolink_core::bc_protocol] side_yard: Discovery failed
4:00:08Z INFO  neolink_core::bc_protocol] shed: Trying TCP discovery
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera side_yard at A>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 200ms
4:00:08Z INFO  neolink_core::bc_protocol] shed: Discovery failed
4:00:08Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera shed at Addres>

:
t contact camera at given address
4:00:08Z INFO  neolink::common::camthread] Attempt reconnect in 200ms
4:00:09Z INFO  neolink::utils] side_door: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:09Z INFO  neolink::utils] back_door: Connecting to camera at Address: 192.168.XX.XX:9000
4:00:09Z INFO  neolink_core::bc_protocol] back_door: Trying TCP discovery
4:00:09Z INFO  neolink_core::bc_protocol] back_door: Discovery failed
4:00:09Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera back_door at A>

:
t contact camera at given address
4:00:09Z INFO  neolink_core::bc_protocol] side_door: Trying TCP discovery
4:00:09Z INFO  neolink_core::bc_protocol] side_door: Discovery failed
4:00:09Z WARN  neolink::common::camthread] Connection Lost: Failed to connect to camera side_door at A>

:
t contact camera at given address
4:00:09Z INFO  neolink::common::camthread] Attempt reconnect in 400ms
4:00:09Z INFO  neolink::common::camthread] Attempt reconnect in 400ms

** CONFIGURATION**

bind = "0.0.0.0"

bind_port = 8554

[[users]]
name = "USERNAME"
pass = "PASSWORD1"

[mqtt]
broker_addr = "192.168.X.XX" # Address of the mqtt server
port = 1883 # mqtt servers port
credentials = ["USERNAME", "PASSWORD"] # mqtt server login details

[[cameras]]
name = "shed"
username = "USERNAME"
password = "PASSWORD"
address = "192.168.XX.XX:9000"
channel_id = 0
	[cameras.mqtt]
		mqtt.enable_battery = false
		mqtt.enable_preview = false
		[cameras.mqtt.discovery]
		topic = "homeassistant"
		features = ["camera", "led", "ir", "motion", "reboot"]
.....
REMAINING CAMERAS CONFIGURED THE SAME

Rollback to v3.3.0.226_23031645 fixes the issue.

MRobi1 avatar Nov 08 '24 17:11 MRobi1

I have the exact same issue with RLN8-410 on FW v3.5.1.356_24110154 It does connect to the camera but when I open the stream I get the same gray screen with "stream not ready" label.

federicotravaini avatar Dec 26 '24 20:12 federicotravaini

Same issue on the latest firmware released Jan 7, 2025. v3.5.1.368_25010327

MRobi1 avatar Jan 08 '25 19:01 MRobi1

Sorry for the delay in getting to you. Not much spare bandwidth for neolink at the moment. Got to do the research project for the day job.

Seems the firmware changed things. How good are your wireshark skills? Do you think you could get a dump of the packets being sent to the camera and back?

QuantumEntangledAndy avatar Jan 09 '25 05:01 QuantumEntangledAndy

How good are your wireshark skills?

To be completely honest.... non-existent! lol

MRobi1 avatar Feb 15 '25 13:02 MRobi1

Picking up the torch here... looking at the debug messages from the NVR, it might have to do with selecting the channel from the NVR. I have a dump of packets to the NVR and back. Happy to share anything or take a dive in if you have any guidance.

dagleaves avatar May 23 '25 05:05 dagleaves

@dagleaves which NVR are you using and how did you get the packet capture?

misbahkhan avatar Jun 16 '25 20:06 misbahkhan

Was anyone able to solve this issue?

tweeter0830 avatar Nov 15 '25 19:11 tweeter0830