Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to authenticate battery powered Argus 2 #337

Open
mikealanni opened this issue Jan 25, 2023 · 2 comments
Open

Unable to authenticate battery powered Argus 2 #337

mikealanni opened this issue Jan 25, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@mikealanni
Copy link

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 mikealanni added the bug Something isn't working label Jan 25, 2023
@QuantumEntangledAndy
Copy link
Collaborator

QuantumEntangledAndy commented Jan 25, 2023

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.

@arbyter
Copy link

arbyter commented Jul 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants