-
Notifications
You must be signed in to change notification settings - Fork 24
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
webservice node can crash node-red startup, but easy to work around #35
Comments
Hey @emes. Thanks for #34, already merged. I will have a look into this, as I'm currently working on #28. I forked node-lox-ws-api and added error messages. Regarding your issue I don't think it will be possible to "wait" for the connection to come up, as this could be never (e.g. on erorrs). Open to better solutions, though. Cheers, |
fixed in 0.10.3 |
I've also added a log entry, when a webservice is called and |
Sending a request with the Webservice node immediately after starting Node-RED consistently results in a crash. This happens because structureData.msInfo is not there yet. Probably related to #12
Same on non-Docker hosts.
Easy workaround is to put a delay node in front of the webservice node, use a status node to monitor the webservice node, and override the delay when the webservice node is not connected. Something like:
Miniserver is running 10.3.11.25 but first noticed this shortly after msInfo was added. Apologies for not reporting at the time.
The text was updated successfully, but these errors were encountered: