Navigation Menu

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

Crashes on node red v2 #45

Open
dahlheim2 opened this issue Oct 12, 2021 · 8 comments · May be fixed by #48
Open

Crashes on node red v2 #45

dahlheim2 opened this issue Oct 12, 2021 · 8 comments · May be fixed by #48

Comments

@dahlheim2
Copy link

only able to configure lgtv on node red version 1.0. tried v2.0 with node.js v10,12 and 14 all crash node red.

@nodoubtman
Copy link

Same here.

@dahlheim2
Copy link
Author

such a useful contrib though, thank you developer! it has been essential to my system for years. now i have it running on a separate RPi with node-red 1.0 running on it and the "main" system running node-red v2 just communicates with it that way.

@antoniocarlospp
Copy link

only able to configure lgtv on node red version 1.0. tried v2.0 with node.js v10,12 and 14 all crash node red.

Hi! By crash you mean losing connection to the server? I'm using Node Red for the very first time and everytime I type my IP and click deploy I lose connection.

@dahlheim2
Copy link
Author

dahlheim2 commented Oct 14, 2021

Well, if you're like me then you're losing connection with node red design and dashboard because node red itself is crashing and restarting repeatedly. I can stop that by deleting the lgtv configuration.

@nodoubtman
Copy link

nodoubtman commented Oct 17, 2021

Node-red crash and i have a message telling me :
BUS ERROR...
nodered.service: Main process exited, code=killed, status=7/BUS
i dont kno where's coming from?

Can you help?
Thank You.
Marc.

@nodoubtman
Copy link

I created a nodejs webserver on my raspberry pi 3 which solves the problem

Thanks.
Marc.

@ZeroBLYNK
Copy link

13 Nov 11:01:20 - [red] Uncaught Exception:
13 Nov 11:01:20 - [error] TypeError: Cannot read property 'indexOf' of undefined
at Object.916a5ac29e1d2f18 (/home/pi/.node-red/node_modules/node-red-contrib-lgtv/nodes/lgtv-volume.js:19:59)
at /home/pi/.node-red/node_modules/node-red-contrib-lgtv/nodes/lgtv-config.js:72:43
at Array.forEach ()
at LgtvConfigNode.subscriptionHandler (/home/pi/.node-red/node_modules/node-red-contrib-lgtv/nodes/lgtv-config.js:71:49)
at Object.4142c0110007 (/home/pi/.node-red/node_modules/node-red-contrib-lgtv/nodes/lgtv-config.js:38:26)
at WebSocketConnection. (/home/pi/.node-red/node_modules/lgtv2/index.js:149:48)
at WebSocketConnection.emit (events.js:314:20)
at WebSocketConnection.processFrame (/home/pi/.node-red/node_modules/websocket/lib/WebSocketConnection.js:554:26)
at /home/pi/.node-red/node_modules/websocket/lib/WebSocketConnection.js:323:40
at processTicksAndRejections (internal/process/task_queues.js:79:11)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
nodered.service: Service RestartSec=100ms expired, scheduling restart.

https://github.com/node-red/node-red.github.io/blob/a9c2f1c1630841aa4ba427b2b49b1757985a0f18/docs/user-guide/handling-errors.md#uncaughtexception-errors

Attempting to resume normally after an uncaught exception can be similar to pulling out the power cord when upgrading a computer. Nine out of ten times, nothing happens. But the tenth time, the system becomes corrupted.

@fabiojrsantos
Copy link

same here, i can't install the node in NR v2.

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

Successfully merging a pull request may close this issue.

5 participants