N8n getting disconnected after 5 min

Hello Team,
I have some issues with the instance where the n8n will be unresponsive after 5 min timeframe, and I have to refresh the page to continue writing the code.

Do you know what might be causing the timeout?

Hi @kgurinov, this message usually appears when the browser UI can’t talk to the server. Is there a chance your n8n instance crashes or becomes unavailable for other reasons? You might want to check your server logs, but keep in mind such reasons might also be outside n8n. Some services like Heroku shut down inactive containers after a few minutes for example.