QuantumEntangledAndy / neolink

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

Registration with reolink servers failed #159

Closed orxelm closed 9 months ago

orxelm commented 9 months ago

Describe the bug Since the 0.6.2 upgrade

--- VERSIONS --- add-on version: 0.0.7 [2023-09-28T07:42:01Z INFO neolink] Neolink 776c63a1bfb8492d48b25b8d939bc3ad988d73ea release neolink version: neolink 0.6.2 neolink mode: rtsp ATTENTION: if you expected a newer Neolink version, please reinstall this Add-on! --- Neolink --- [2023-09-28T07:42:01Z INFO neolink] Neolink 776c63a1bfb8492d48b25b8d939bc3ad988d73ea release [2023-09-28T07:42:02Z INFO neolink::rtsp] Starting RTSP Server at 0.0.0.0:8554 [2023-09-28T07:42:02Z INFO neolink::rtsp] entrance: Rtsp Staring [2023-09-28T07:42:02Z INFO neolink::utils] entrance: Connecting to camera at UID: ***** [2023-09-28T07:42:02Z INFO neolink_core::bc_protocol] entrance: Trying local discovery [2023-09-28T07:42:17Z INFO neolink_core::bc_protocol] entrance: Registration with reolink servers failed. Retrying: 1/10 [2023-09-28T07:42:33Z INFO neolink_core::bc_protocol] entrance: Registration with reolink servers failed. Retrying: 2/10 [2023-09-28T07:42:49Z INFO neolink_core::bc_protocol] entrance: Registration with reolink servers failed. Retrying: 3/10 [2023-09-28T07:43:05Z INFO neolink_core::bc_protocol] entrance: Registration with reolink servers failed. Retrying: 4/10 [2023-09-28T07:43:21Z INFO neolink_core::bc_protocol] entrance: Registration with reolink servers failed. Retrying: 5/10 [2023-09-28T07:43:37Z INFO neolink_core::bc_protocol] entrance: Registration with reolink servers failed. Retrying: 6/10 [2023-09-28T07:43:54Z INFO neolink_core::bc_protocol] entrance: Registration with reolink servers failed. Retrying: 7/10 [2023-09-28T07:44:10Z INFO neolink_core::bc_protocol] entrance: Registration with reolink servers failed. Retrying: 8/10

QuantumEntangledAndy commented 9 months ago

Some times the Reolink servers don't return an appropriate IP address.

Are you sure you need to do registration with Reolink? Is this a cellular camera? Do you know the IP address?

orxelm commented 9 months ago

Some times the Reolink servers don't return an appropriate IP address.

Are you sure you need to do registration with Reolink? Is this a cellular camera? Do you know the IP address?

It's a battery camera (Argus 3 Pro). Yeah I know the ip. Not sure why it tries to register with Reolink server. Here's my conf file:

bind = "0.0.0.0"

[[cameras]]
name = "entrance"
username = "*****"
password = "*****"
uid = "******"
    [cameras.pause]
    on_client = true
QuantumEntangledAndy commented 9 months ago

The default tries all discovery methods. Check out the readme for how to configure it but if you know ip and want only local discovery use the following with both uid and address set.

discovery = "local"
uid = "****"
address = "****"