We have an issue with workflows losing connections between nodes, usually at random times between executions. Even on workflows that haven’t been updated in some time. Still can’t figure out what the issue is, seemingly no way to replicate this.
Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
Operating system: Ubuntu Server Hetzner
Please help someone. Currently the only fix for us has been to copy+paste a previous executions workflow into the editor and then save. But this happens again after some time so it is very scary.
We have had a few reported issues similar to this in the past, where learning the cache may have helped. Can you exclude that by trying a new or private session on that browser or a different one?
Also, is it possible to update to the latest version of n8n just in case?
Yes we did try many different browsers on Windows and macOS but we think this has more to do with the Execute Workflow node, especially when you Execute another workflow outside of the current workflow. In that case when you have many concurrent workflows running, somehow the connections get lost somewhere and this causes all the next executions resulting in empty.
The fix for us has been to replace all the Execute Workflow nodes with HTTP Requests and Webhooks. So when we want to call another workflow, we are calling a webhook instead. Also the Respond to webhook node is useful, because then it will error out in case the connections get lost again - which hasn’t happened yet.
Thanks for reaching out, we appreciate it since this is a very rare but very irritating bug…
@castigation Would you be able to put together a minimal repro for this? At least one where you suspect this is likely to happen, even if not consistently.
Assuming your theory is right, once this disconnection happens, we can use the execution ID and workflow ID and the timestamp to locate the relevant app and DB logs, to pinpoint where the connections are persisted as an empty object.