Replies: 1 comment 1 reply
-
Just odd that it successfully "logs in" then disconnects [2023-02-18T20:57:58Z INFO neolink::rtsp] sideyard: Connected and logged in
[2023-02-18T20:58:18Z ERROR neolink_core::bc_protocol::connection::udpconn] Udp write poll aborted |
Beta Was this translation helpful? Give feedback.
-
Thanks to your help I was able to get neolink working with three Argus 3 Pro on an Rpi 3. I connected this to a Frigate install and things were working, albeit slowly, with all three streams displaying properly. For my "prod" install I copied the neolink config over to a hardwired i5 with 16GB RAM and SSD drives running Debian. I downloaded the appropriate version of neolink and installed dependencies. Using the config below I can get one stream working but if I enable two, and especially three, cameras the connections fail with the attached error.
Config:
bind = "0.0.0.0"
bind_port = 8554
[[cameras]]
name = "frontyard"
username = "admin"
password = "passwd"
uid = "camera_1"
# [[cameras]]
# name = "sideyard"
# username = "admin"
# password = "passwd"
# uid = "camera_2"
# [[cameras]]
# name = "backyard"
# username = "admin"
# password = "passwd"
# uid = "camera_3"
stream = "mainStream"
encryption = 2
Error:
2023-02-17T06:25:51Z DEBUG yaserde::de] Fetched StartElement(checkValue, {"": "", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"})
[2023-02-17T06:25:51Z DEBUG yaserde::de] Fetched Characters(1651979568)
[2023-02-17T06:25:51Z DEBUG yaserde::de] Fetched EndElement(checkValue)
[2023-02-17T06:25:51Z ERROR neolink_core::bc_protocol::connection::bcconn] Deserialization error: Deserialization error
[2023-02-17T06:25:51Z ERROR neolink_core::bc_protocol::connection::bcconn] caused by: I/O error
[2023-02-17T06:25:51Z ERROR neolink_core::bc_protocol::connection::bcconn] caused by: Connection timedout when reading from udp channel
[2023-02-17T06:25:51Z DEBUG neolink_core::bc_protocol] Dropping camera
[2023-02-17T06:25:51Z WARN neolink_core::bc_protocol] Could not log out, ignoring: Connection error
[2023-02-17T06:25:51Z DEBUG neolink_core::bc_protocol::connection::bcconn] Shutting down BcConnection...
[2023-02-17T06:25:51Z DEBUG neolink_core::bc_protocol::connection::bcconn] Shutdown finished OK
[2023-02-17T06:25:51Z ERROR neolink::rtsp] Error streaming from camera backyard, will retry in 1s: Error while streaming backyard
[2023-02-17T06:25:51Z DEBUG neolink_core::bc::xml] Struct: start to parse "Extension"
...
[2023-02-17T06:25:51Z ERROR neolink_core::bc_protocol::connection::udpconn] Udp write poll aborted
I see the I/O errors but things were working fine on the Pi (over wifi) and I'm not seeing any network errors on the machine or router. Made sure iptables was empty so not a firewall issue this time :)
Any ideas? The other deserialization errors discussed don't seem to apply to my situation.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions