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

Problem Maximum call stack size exceeded #72

Open
carflomi opened this issue Jun 2, 2023 · 3 comments
Open

Problem Maximum call stack size exceeded #72

carflomi opened this issue Jun 2, 2023 · 3 comments

Comments

@carflomi
Copy link

carflomi commented Jun 2, 2023

Hello.
I am using node-red to implement a MQTT broquer (node-red-contrib-aedes) and node-red its working in a Docker, Everything is working correctly but, I detect the following error

1 Jun 15:05:59 - [error] RangeError: Maximum call stack size exceeded
    at AedesBrokerNode.Node.send (/usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:369:31)
    at Aedes.<anonymous> (/data/node_modules/node-red-contrib-aedes/aedes.js:319:14)
    at Aedes.emit (node:events:513:28)
    at PublishState.callPublished (/data/node_modules/aedes/aedes.js:255:15)
    at makeCallTwo (/data/node_modules/fastseries/series.js:150:3)
    at MQEmitter.release (/data/node_modules/fastseries/series.js:138:7)
    at MQEmitter.parallel [as _parallel] (/data/node_modules/fastparallel/parallel.js:25:12)
    at MQEmitter._do (/data/node_modules/mqemitter/mqemitter.js:133:8)
    at released (/data/node_modules/mqemitter/mqemitter.js:48:12)
    at MQEmitter.parallel [as _parallel] (/data/node_modules/fastparallel/parallel.js:26:7)

I don't get more information only that node-network restarts repeatedly 1 time every hour (more or less).

Please can anyone help me with this error?

@martin-doyle
Copy link
Owner

Could you provide some more information about the environment (OS version, Docker version, Node-RED version)?
Could you also provide in Gist a copy of a sample flow, please?
I would like to check what the issue is.

@carflomi
Copy link
Author

carflomi commented Jun 5, 2023

I have found the problem
The device that is sending the MQTT messages must have some problem and is sending several hundred messages per second.
This causes the indicated problem.
I can inform you that the reported problem is not reproduced on node-network, on a Windows 11 operating system.
These are the data requested

  • Yocto linux 5.4.0-144-generic.
  • Docker 23.0.6.
  • Node-red 3.0.2
    Thanks

@martin-doyle
Copy link
Owner

Thank you for your information.

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