Closed nileio closed 3 years ago
I verified this is not only applicable to the Docker image.. on a new Ubuntu installation with fresh node-red install, the same issue occurs.
RED.server.address()
is null because RED.server.listening
= false
. I am not sure why would server.listening
return false. Anyway I do not need to use it and instead used RED.settings.uiHost
and RED.settings.uiPort
which should always return the same thing.
I am unable to re-produce this issue so investigation continues. I currently use
RED.server.address().address
but this should always return a value. Investigation continues, please add a comment for the issue if you have any thoughts to resolve this issue. Workaround solution : currently a Re-deploy of the flow is required in order to run GraphQL in node after Node-RED restart.