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

Uncaught exception on regular basis #86

Open
janwadebock opened this issue Dec 2, 2024 · 3 comments
Open

Uncaught exception on regular basis #86

janwadebock opened this issue Dec 2, 2024 · 3 comments

Comments

@janwadebock
Copy link

I have on regular basis an uncaught exception due to which Nodered restarts completely.

Context:
I am running nodered in docker on a synology.
Running Nodered docker version 4.0.5-22

those are the installed nodes:
image

Sometimes, the nodered docker container restarts with this error message:
2024-12-02T08:13:41.597648451Z stdout 2 Dec 08:13:41 - [red] Uncaught Exception:
2024-12-02T08:13:41.598272672Z stdout 2 Dec 08:13:41 - [error] ReferenceError: data is not defined
2024-12-02T08:13:41.598371360Z stdout     at API. (/data/node_modules/node-red-contrib-loxone/loxone/loxone.js:263:21)
2024-12-02T08:13:41.598436433Z stdout     at API.emit (node:events:518:28)
2024-12-02T08:13:41.598481788Z stdout     at Connection. (/data/node_modules/node-lox-ws-api/lib/API.js:119:14)
2024-12-02T08:13:41.598536132Z stdout     at Connection.emit (node:events:518:28)
2024-12-02T08:13:41.598580044Z stdout     at Connection.handle_message (/data/node_modules/node-lox-ws-api/lib/Connection.js:176:18)
2024-12-02T08:13:41.598626870Z stdout     at WebSocketConnection. (/data/node_modules/node-lox-ws-api/lib/Connection.js:142:14)
2024-12-02T08:13:41.598676245Z stdout     at WebSocketConnection.emit (node:events:518:28)
2024-12-02T08:13:41.598744180Z stdout     at WebSocketConnection.processFrame (/data/node_modules/websocket/lib/WebSocketConnection.js:554:26)
2024-12-02T08:13:41.598793436Z stdout     at /data/node_modules/websocket/lib/WebSocketConnection.js:323:40
2024-12-02T08:13:41.598837317Z stdout     at processTicksAndRejections (node:internal/process/task_queues:85:11)

How can I debug this further ?

@codmpm
Copy link
Owner

codmpm commented Dec 2, 2024

Hey there,

which Miniserver Version are you running?

@janwadebock
Copy link
Author

hi, sorry, should have mentioned this:
Currently I am running Loxone Config 15.2.10.14 / miniserver Gen 1
I do not see any errors in the loxone log at the same time the above error was generated

@janwadebock
Copy link
Author

Hi, just wondering if you found anything, as I have this issue at least once, but in many cases several times a day.

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