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

No longer working with Node.js version 22 and node-red version v4.0.2 #50

Open
janvda opened this issue Aug 15, 2024 · 2 comments
Open

Comments

@janvda
Copy link

janvda commented Aug 15, 2024

The problem is that my node-red instances crashed regularly after I have upgraded to the following version of node-red

Welcome to Node-RED
===================

15 Aug 09:42:41 - [info] Node-RED version: v4.0.2
15 Aug 09:42:41 - [info] Node.js  version: v22.6.0
15 Aug 09:42:41 - [info] Linux 5.15.0-117-generic x64 LE

This is what is logged at the time of the crash (around 16:54:47):

14 Aug 16:52:37 - [info] [sqlitedb:62791b7b1606c346] opened /data/niamondo.db ok
14 Aug 16:52:37 - [info] [mqtt-broker:738c9d10393f5cdd] Connected to broker: mqtt://mqtt-broker:1883
[INFO]  @slack/client:WebClient:1 API Call failed due to rate limiting. Will retry in 60 seconds.
[WARN]  @slack/client:WebClient:1 http request failed A rate limit was exceeded.
[INFO]  @slack/client:WebClient:1 API Call failed due to rate limiting. Will retry in 60 seconds.
[WARN]  @slack/client:WebClient:1 http request failed A rate limit was exceeded.
14 Aug 16:54:41 - [info] [slack-config:$slack_token] connected to slack with token: xoxb-260...L0Q
14 Aug 16:54:47 - [red] Uncaught Exception:
14 Aug 16:54:47 - [error] TypeError: Cannot read properties of null (reading 'message')
    at /data/node_modules/@slack/client/dist/RTMClient.js:392:89
    at afterWrite (node:internal/streams/writable:708:5)
    at onwrite (node:internal/streams/writable:686:7)
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:107:10)
14 Aug 16:54:49 - [info] 
@janvda
Copy link
Author

janvda commented Aug 15, 2024

I also see that the same message is posted over and over again in slack channel although I am only posting it once:

image

@janvda
Copy link
Author

janvda commented Aug 15, 2024

FYI it seemed to be working for below node-red version:

Welcome to Node-RED
===================

15 Aug 11:57:14 - [info] Node-RED version: v3.0.2
15 Aug 11:57:14 - [info] Node.js  version: v16.16.0
15 Aug 11:57:14 - [info] Linux 5.15.0-117-generic x64 LE
15 Aug 11:57:15 - [info] Loading palette nodes

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

1 participant