neolink icon indicating copy to clipboard operation
neolink copied to clipboard

Unable to authenticate battery powered Argus 2

Open mikealanni opened this issue 2 years ago • 2 comments

Hi, I'm getting the error below, I have configure username (as email) password and UID and name but I don't know why it can not authenticate. Please what I'm missing

`./neolink rtsp --config=config.toml [2023-01-25T01:44:40Z INFO neolink] Neolink xxxx release [2023-01-25T01:44:45Z INFO neolink_core::bc_protocol::connection::udpconn::discover] Trying remote discovery against reolink servers [2023-01-25T01:44:45Z INFO neolink_core::bc_protocol::connection::udpconn::discover] Trying remote discovery against reolink servers [2023-01-25T01:44:50Z ERROR neolink::rtsp] Error streaming from camera Front Camera, will retry in 1s: Failed to connect to camera Front Camera at UID: xxxxxx on channel 0

Caused by:
    0: Connection error
    1: Timeout

[2023-01-25T01:44:50Z ERROR neolink::rtsp] Error streaming from camera Front Camera, will retry in 1s: Failed to connect to camera Front Camera at UID: xxxxx on channel 0

Caused by:
    0: Connection error
    1: Timeout

[2023-01-25T01:44:52Z INFO neolink::rtsp] Front Camera: Connecting to camera at UID: xxxxx [2023-01-25T01:44:52Z INFO neolink::rtsp] Front Camera: Logging in [2023-01-25T01:44:52Z INFO neolink::rtsp] Front Camera: Connecting to camera at UID: xxxxxx [2023-01-25T01:44:52Z INFO neolink::rtsp] Front Camera: Logging in [2023-01-25T01:44:54Z ERROR neolink::rtsp] Authentication failed to camera Front Camera, not retrying [2023-01-25T01:44:55Z ERROR neolink_core::bc_protocol::connection::udpconn] Udp write poll aborted`

mikealanni avatar Jan 25 '23 01:01 mikealanni

Your getting a timeout on the udp part of the code. I'm working on a rework of the whole udp protocol that should help with this but will take while to finish.

What happens is that udp packets are lossy whenever the packet is lost we have to re-request it from the camera and this means another round trip between camera and neolink before normal operations can continue. Sometimes this can take a few round trips before we can get it. If this process takes too long then this error is thrown.

QuantumEntangledAndy avatar Jan 25 '23 04:01 QuantumEntangledAndy

hi @QuantumEntangledAndy, any progress on this topic? I run in the same issue :-/

arbyter avatar Jul 14 '24 20:07 arbyter