-
Notifications
You must be signed in to change notification settings - Fork 25
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 freezes because of failed attempts to connect to miniserver #42
Comments
Thank you for this issue!
I think this is handled by the underlying
I think this is the way to go... as far as I know it is not possible to connect to the miniserver without credentials anyway, or is it? Exporting the credentials with a flow export ist not valid, as these are sensitive informations and could then be - without knowing - made public by exporting a flow. Node-red itself advises to store them separately: https://nodered.org/docs/creating-nodes/credentials I will disable the connection when no credentials are given in a future release. |
Thanks a lot! Yes, as far as I know, it is not possible to connect to miniserver without credentials. So it is safe to make credentials obligatory and disable connection and throw an error ("red triangle" in Node Red) if credentials are missing. |
Btw, the red triangle is provided by the node-red editor. It appears after an editor reload if the node-config is not complete. |
Problem:
Nodes attempt to connect to Loxone even if login credentials are missing. This (obviously) leads to errors in syslog:
etc etc. The attempts to reconnect are so frequent that Node Red (in my case running on Raspberry Pi 3) becomes unresponsive. And of course, loggs fill memory (SD card).
Why are login credentials missing? Credentials are never stored during export of flow. After (re)importing the flow, you always have to enter them manually. If you forgot to do so and deploy the flow without credentials, the flow starts, but Node Red becomes unresponsive, because of errors and attempts to reconnect.
Suggested solution:
Delays between attempts to reconnect (for example 10 seconds?) in order to prevent Node Red becoming unresponsive.
Disable connection if login credentials (in loxone-miniserver node) are missing.
The text was updated successfully, but these errors were encountered: