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
Node-Red Uncaught Exception due Modbus Server node. #225
Comments
I've encountered this error myself, this is the output from the logs:
|
Hi. RPi 3B
|
Good day. Raspberry Pi Zero W (Raspbian Lite 32-bit 2022-04-04)
Everything from the Raspbian installation to this palette has been freshly installed. Is there any chance we'll get a bug fix soon? A project I'm working on needs this library, and the whole program crashes due to this bug. Thank you in advance! |
As a workaround you can use an external Modbus/TCP server, and writing the necessary values using Node-Red to it |
Yes - two years - the last two years were and are not easy with all the issues from our real life. It will be fixed with the next v5.22+ - but keep in mind, then the flow should handle the error state of the node |
Yeah, we're working on that right now, thanks for the idea. @biancode I hope all of you have had a better year so far. I appreciate all of you working on this in spite of your personal situations.
To be honest I'm not super savvy on JS, but I could give it a try... As for the flow handling the error, it's more than enough personally. That would make fixing my mistakes on the node's config much faster. |
This issue is stale because it has been open 60 days with no activity. It will be closed in 30 days, but can be saved by removing the stale label or commenting. |
I'm submitting a ... (check one with "x")
Problem
Current behavior
Uncaught Exception on Node-RED.
After a lost connection from Modbus master, the Modbus Server node shows an error that makes Node-Red to forced stop.
Expected behavior
After a lost connection from Modbus master, the Modbus Server must show the connection error but Node-Red should remain active.
Minimal reproduction of the problem with instructions
Your Environment
Please tell us about your environment:
Yes, modbus-serial is the name but it does all, TCP and Serial.
The node-modbus package is just for the Modbus Server node.
Device :
Description of the connecting Modbus system:
node-red-contrib-modbus version: v5.13.3
node --version
= v12.19.1The text was updated successfully, but these errors were encountered: