Generally, the "Connection lost" message is displayed when your web socket connection is interrupted. An active web socket connection to Haiilo is required for live updates to appear on the platform, such as timeline posts, notifications, and chat messages.
When you see this message, it is the platform informing you that the web socket connection has been interrupted, so you are aware that live updates won't show until the connection is restored.
What can cause this?
Often, a web socket connection being interrupted is caused by a long period of inactivity in the browser tab in which the platform is open. That is, if you keep the browser tab for your platform open but aren't actively using it all the time, the tab goes idle. This is standard behavior for browsers to conserve energy.
The period of inactivity that is required for the web socket connection to be interrupted depends on the browser you're using. Each browser determines when to suspend the Javascript thread to an inactive tab based on a number of factors, including system load and memory usage.
What should I do?
The connection can restore itself automatically after a while, or if you want to restore it immediately, refresh the page (Ctrl + F5 on Windows or Cmd + R on Mac).
When the connection is restored, the message disappears, and live updates are again available.
If the message occurs frequently after short periods of inactivity on the platform, you can contact your IT department to check whether your network is correctly allowing or blocking the web sockets for connecting to Haiilo.