QuantumEntangledAndy / neolink

An RTSP bridge to Reolink IP cameras
GNU Affero General Public License v3.0
297 stars 44 forks source link

Do not start 0.0.5 #64

Closed herveaurel closed 1 year ago

herveaurel commented 1 year ago

Neolink does not start anymore.

I did not modify anything, I made the update 0.0.5

error : /entrypoint.sh: 9: /entrypoint.sh: /run.sh: not found

And when I restart Reolink:

[2023-04-16T13:10:42Z INFO neolink] Neolink 1ea8f182fa5ea4845984e329c6dd3d0602183aac release [2023-04-16T13:10:42Z WARN neolink::rtsp::gst::factory] Constructing Factor Impl [2023-04-16T13:10:42Z INFO neolink::rtsp] Starting RTSP Server at 0.0.0.0:8554 [2023-04-16T13:10:45Z INFO neolink_core::bc_protocol] cam: Remote discovery success 952700046Q0FTLCI at 192.168.1.46:26065 [2023-04-16T13:10:45Z INFO neolink_core::bc_protocol] cam: Relay success 952700046Q0FTLCI at 15.188.144.151:51674 [2023-04-16T13:10:48Z ERROR neolink::rtsp] cam: Fatal error: cam: Could not login to camera

Caused by: Communication error Error: cam: Could not login to camera Caused by: Communication error

Versions HA Core : 2023.4.4 HA supervisor : 2023.04.0 HassOS: 9.5 Neolink software: 0.0.5 Reolink camera model and firmware: Argus Pro 3 v3.0.0.973_22051000

QuantumEntangledAndy commented 1 year ago

This first issue seems to be related to the hassio-addon from here https://github.com/dm82m/hassio-addons/

The second on is the error UnintelligibleReply which means that during login we got a data we did not expect. This can happen in three places

  1. The camera did not send a NONCE before login
  2. The camera did not send a DeviceInfo xml just after login
  3. The camera did not send a AbilityInfo xml just after login

I cannot really tell why your camera is failing to do this in a way we recognise without more information from you in the form of captured network packets. Do you think you can capture such packets using either wireshark or pcap?

QuantumEntangledAndy commented 1 year ago

Closing this for inactivity. Feel free to message me if you need to reopen or need instructions on how to get the camera packets