2021-05-22, 03:10 PM
I am trying to pass a SignalK message to node red.
I add a SignalK suscribe node and configure it with Source/path etc. When I deploy it node red fails and goes into a start/fail loop:
In Signalk the signalk-node-red plugin is installed and running.
In node red I have signalk/node-red-embedded installed.
All appears to be at the latest version. Platform is Raspberry pi.
The only way to get out is to delete my flows_xxxxxxx.json
If anyone can help resolve this I'd very much appreciate it.
I add a SignalK suscribe node and configure it with Source/path etc. When I deploy it node red fails and goes into a start/fail loop:
Code:
22 May 14:36:16 - [info] Stopping flows
22 May 14:36:16 - [info] Stopped flows
22 May 14:36:16 - [info] Starting flows
22 May 14:36:16 - [info] Started flows
22 May 14:36:21 - [red] Uncaught Exception:
22 May 14:36:21 - TypeError: Cannot read property 'subscribe' of undefined
at Timeout.setTimeout [as _onTimeout] (/home/pi/.node-red/node_modules/@signalk/node-red-embedded/signalk-subscribe.js:124:16)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
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 26.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.
In Signalk the signalk-node-red plugin is installed and running.
In node red I have signalk/node-red-embedded installed.
All appears to be at the latest version. Platform is Raspberry pi.
The only way to get out is to delete my flows_xxxxxxx.json
If anyone can help resolve this I'd very much appreciate it.