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

Deserialization error / Media Deserialization error #357

Open
dd-gamer opened this issue May 14, 2023 · 1 comment
Open

Deserialization error / Media Deserialization error #357

dd-gamer opened this issue May 14, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@dd-gamer
Copy link

dd-gamer commented May 14, 2023

Describe the bug
Can't connect to my cameras:

[2023-05-14T20:23:57Z ERROR neolink_core::bc_protocol::connection::udpconn] Udp read poll aborted
[2023-05-14T20:23:58Z ERROR neolink_core::bc_protocol::connection::udpconn] Udp write poll aborted
[2023-05-14T20:24:00Z INFO neolink::rtsp] Kaninchen: Connecting to camera at UID: 95XXXXXXXBD
[2023-05-14T20:24:00Z INFO neolink::rtsp] Kaninchen: Logging in
[2023-05-14T20:24:00Z INFO neolink::rtsp] Kaninchen: Connected and logged in
[2023-05-14T20:24:00Z INFO neolink::rtsp] Kaninchen: Camera time is already set: 2023-05-14 22:23:59 +1
[2023-05-14T20:24:01Z INFO neolink::rtsp] Kaninchen: Camera reports firmware version 1202_491_352_19
[2023-05-14T20:24:01Z INFO neolink::rtsp] Kaninchen: Starting video stream Main Stream (Clear)
[2023-05-14T20:24:33Z ERROR neolink_core::bc_protocol::connection::bcconn] Deserialization error: Deserialization error
[2023-05-14T20:24:33Z ERROR neolink_core::bc_protocol::connection::bcconn] caused by: I/O error
[2023-05-14T20:24:33Z ERROR neolink_core::bc_protocol::connection::bcconn] caused by: Connection timedout when reading from udp channel
[2023-05-14T20:24:33Z WARN neolink_core::bc_protocol] Could not log out, ignoring: Connection error
[2023-05-14T20:24:33Z ERROR neolink::rtsp] Error streaming from camera Kaninchen, will retry in 1s: Error while streaming Kaninchen

Caused by:
    0: Media Deserialization error
    1: I/O error
    2: channel is empty and sending half is closed

[2023-05-14T20:24:33Z ERROR neolink_core::bc_protocol::connection::udpconn] Udp read poll aborted
[2023-05-14T20:24:33Z ERROR neolink_core::bc_protocol::connection::udpconn] Udp write poll aborted
[2023-05-14T20:24:35Z INFO neolink::rtsp] Kaninchen: Connecting to camera at UID: 95XXXXXXXXXXXBD
[2023-05-14T20:24:35Z INFO neolink::rtsp] Kaninchen: Logging in
[2023-05-14T20:24:37Z INFO neolink::rtsp] Kaninchen: Connected and logged in
[2023-05-14T20:24:37Z INFO neolink::rtsp] Kaninchen: Camera time is already set: 2023-05-14 22:24:36 +1
[2023-05-14T20:24:37Z INFO neolink::rtsp] Kaninchen: Camera reports firmware version 1202_491_352_19
[2023-05-14T20:24:37Z INFO neolink::rtsp] Kaninchen: Starting video stream Main Stream (Clear)
[2023-05-14T20:24:38Z ERROR neolink::rtsp] Error streaming from camera Kaninchen, will retry in 1s: Error while streaming Kaninchen

Caused by:
    0: Media Deserialization error
    1: Parsing error

To Reproduce

  1. Setup Docker container
    thirtythreeforty/neolink:latest
    bind /etc/neolink.toml
    set network to host
  2. create config.yaml
    [[cameras]]
    name = "Kaninchen"
    username = "admin"
    password = "XXXX"
    uid = "952XXXXXXXXXXBD"

[[cameras]]
name = "Auffahrt"
username = "admin"
password = "XXX"
uid = "95XXXXXXXX9C1"

Versions
NVR software:
Neolink software: latest docker image
Reolink camera model and firmware: 1. Reolink Argus Eco; Firmware 1202_491_352_19 | 2. Reolink Argus Pro; Firmware 1118_464_346_29

@dd-gamer dd-gamer added the bug Something isn't working label May 14, 2023
@QuantumEntangledAndy
Copy link
Collaborator

This fork is mostly unmaintained for a few years now. Can you please switch to my fork https://github.com/QuantumEntangledAndy/neolink where this issue should already be fixed. You can also get the docker image from docker pull quantumentangledandy/neolink

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

2 participants