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 - Unraid neolink docker container #157

Closed
Phil91 opened this issue May 10, 2021 · 8 comments · Fixed by #198
Closed

Deserialization error - Unraid neolink docker container #157

Phil91 opened this issue May 10, 2021 · 8 comments · Fixed by #198
Labels
bug Something isn't working

Comments

@Phil91
Copy link

Phil91 commented May 10, 2021

I tried to run the neolink docker container on my unraid server with the following configuration:

bind = "0.0.0.0"
 
[[cameras]]
name = "garden"
username = "neolink"
password = "xxx"
address = "192.168.30.66:9000"
stream = "both"

the cameras have the latest firmeware installed, i already got everything running on a windows vm (which is currently turned off and not running)

when starting the docker container on the unraid server i get the following error messages:

[2021-05-10T06:07:14Z INFO neolink] garden: Connecting to camera at 192.168.30.66:9000
[2021-05-10T06:07:14Z ERROR neolink::bc_protocol::connection] Deserialization error: Deserialization error

[2021-05-10T06:07:14Z ERROR neolink::bc_protocol::connection] caused by: Parsing error

[2021-05-10T06:07:14Z ERROR neolink] Error streaming from camera garden, will retry in 15s: Dropped connection

image

the configuration of the unraid docker installation looks like this:

image

@Phil91 Phil91 added the bug Something isn't working label May 10, 2021
@Diddlik
Copy link

Diddlik commented May 11, 2021

Have the same problem on Win10 and Ubuntu 20.

@locke4
Copy link

locke4 commented Jun 22, 2021

Similar problem. Error below:

[2021-06-22T17:00:16Z INFO  neolink] Neolink 0.3.0 (unknown commit) release
[2021-06-22T17:00:16Z DEBUG neolink::gst] Permitting anonymous to access /Cam01/subStream
[2021-06-22T17:00:16Z DEBUG neolink::bc_protocol] Trying 192.168.0.45:9000
[2021-06-22T17:00:16Z DEBUG neolink::bc_protocol] Success: 192.168.0.45:9000
[2021-06-22T17:00:16Z INFO  neolink] Cam01: Connecting to camera at 192.168.0.45:9000
[2021-06-22T17:00:16Z ERROR neolink::bc_protocol::connection] Deserialization error: Deserialization error
[2021-06-22T17:00:16Z ERROR neolink::bc_protocol::connection] caused by: Parsing error
[2021-06-22T17:00:16Z DEBUG neolink::bc_protocol::connection] Shutting down BcConnection...
[2021-06-22T17:00:16Z DEBUG neolink::bc_protocol::connection] Shutdown finished OK
[2021-06-22T17:00:16Z ERROR neolink] Error streaming from camera Cam01, will retry in 1s: Dropped connection

Running on Debian with docker, Reolink RLC-810A. It's a 4k camera so I set it to subStream only in the neolink.toml file.

@QuantumEntangledAndy
Copy link
Collaborator

@Phil91 This may be related to the encryption used not being supported. Could you please try this docker image:

docker pull quantumentangledandy/neolink:newer_enc

@Phil91
Copy link
Author

Phil91 commented Aug 25, 2021

@Phil91 This may be related to the encryption used not being supported. Could you please try this docker image:

docker pull quantumentangledandy/neolink:newer_enc

i will try it later today :)

@Phil91
Copy link
Author

Phil91 commented Aug 26, 2021

works for me :)

@Phil91 Phil91 closed this as completed Aug 26, 2021
@QuantumEntangledAndy
Copy link
Collaborator

I think we should leave this open until it gets merged into master, but thanks for letting me know it helps :)

@QuantumEntangledAndy QuantumEntangledAndy linked a pull request Aug 26, 2021 that will close this issue
@rhatguy
Copy link

rhatguy commented Sep 9, 2021

FYI, this works for the substream on an RLC-410-5MP also. Segfaults with the 5MP stream as expected, but I'm at least able to get a picture on the substream.

@QuantumEntangledAndy
Copy link
Collaborator

QuantumEntangledAndy commented Sep 9, 2021

The segfault issue is unrelated to this issue, and is tracked in #46/#37. It is possible that this is fixed by using debian as the docker base image. I have such an image here:

docker pull quantumentangledandy/neolink:udp_docker

If you want to try that; but please report back to the #46 thread rather than this thread. Please be aware that docker support is "best effort".

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

Successfully merging a pull request may close this issue.

5 participants