Search code examples
httphttprequestnode-red

Node-Red "http request" node stuck in requesting if no connection


I have a flow with a http request node in it, which makes POST calls to a web service.

Everything works ok, but if the device where Node-Red is running loses connection to Internet (it is connected through LTE), the node keeps stuck in requesting state, instead of returning an error.

node requesting

Is this the normal behaviour? Could I solve it by setting a timeout? How could it be done?


Solution

  • Updating Node-RED to latest version resolved the issue. Now I get an error as I would expect, and Node-RED does not hang.

    enter image description here

    I have updated from version v0.19.5 to v 1.0.3.