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

Error: You should create pull-point subscription first / Can not connect #32

Closed
WhiteLionATX opened this issue Sep 6, 2022 · 1 comment

Comments

@WhiteLionATX
Copy link

I ve only one device and connection makes for whatever reasons problems. (Sometimes works, sometimes not) Cam is working fine while disconnects appear. Using "OnVif events" / action "Start listening". Node Red crashes:

6 Sep 17:23:30 - [error] [onvif-events:817ba9091c11e67e] This node is not connected to a device 6 Sep 17:23:31 - [info] [mqtt-broker:f55c6c0d.194bb] Connected to broker: mqtt://localhost:1883 pam_unix(sudo:session): session closed for user root 6 Sep 17:23:37 - [error] [onvif-config:MyCamTest58] The device is now connected, but the data cannot be loaded 6 Sep 17:30:16 - [red] Uncaught Exception: 6 Sep 17:30:16 - [error] Error: You should create pull-point subscription first! at Cam.pullMessages (/home/pi/.node-red/node_modules/onvif/lib/events.js:188:10) at Cam._eventPull (/home/pi/.node-red/node_modules/onvif/lib/events.js:309:9) at Cam.<anonymous> (/home/pi/.node-red/node_modules/onvif/lib/events.js:100:13) at parseSOAPString (/home/pi/.node-red/node_modules/onvif/lib/utils.js:108:3) at IncomingMessage.<anonymous> (/home/pi/.node-red/node_modules/onvif/lib/cam.js:246:4) at IncomingMessage.emit (node:events:539:35) at IncomingMessage.emit (node:domain:475:12) at endReadableNT (node:internal/streams/readable:1345:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) nodered.service: Main process exited, code=exited, status=1/FAILURE nodered.service: Failed with result 'exit-code'. nodered.service: Service RestartSec=20s expired, scheduling restart. nodered.service: Scheduled restart job, restart counter is at 1. Stopped Node-RED graphical event wiring tool.

@bartbutenaers
Copy link
Owner

Hi @WhiteLionATX,

I am going to close this issue, because it is a duplicate of this one. Otherwise it becomes difficult to keep track of it all.

As you can see in the other issue, I have asked for help from the repo that I am using under the cover...

Bart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants