Lovelace disconnects and reconnects every appr. 35 seconds

Hi everyone, I have an annoying problem that I’ve had for a long time: about every 35 seconds (yes, I used a stopwatch) my frontend shows the message that the connection has been lost and is being reconnected. This only takes a fraction of a second, after which the frondend is refreshed. The annoying thing about this is that any dialog that is currently open will be closed and the page will scroll all the way to the top.

My iOS app doesn’t have this issue, this only seems to happen in my browser on my (Windows) PC, I have this in both Firefox and Edge.

Does anyone have an idea what could be causing this or how I could investigate this issue further?