Open omrid01 opened 1 month ago
This is definitely a pressing issue we have, but will take some time to investigate
Until fixed, I will be putting a temporary workaround, where the server node (upon start), waits 1-2 seconds, and then sends a special command to all clients telling them to reload themselves.
Current Behavior
this may be related to #909. When the Node-red server is restarted (or after deploy/restart flows in the editor), the connection to all dashboard clients is terminated and then automatically restored. However, after the reconnect, the widget can receive new messages from the server node, but some of the widget notifications to the server node's
onSocket
listener may stop working. Refreshing the client page solves the issue.Expected Behavior
After socket connection restoration all widget-node communication (in both directions) should resume properly.
Steps To Reproduce
ui-example
In widget:
In server node:
Environment
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate