Temporary connection problems

Hello everybody.

i am new here and to HA but i like the project and try to change my smart home configuration to HA. But first I’m trying to troubleshoot a problem before continuing with the configuration.
I installed HA in a proxmox vm and everything seemed fine. But suddenly I kept having lost connections to the HA website.
At the bottom left under “Settings” I get the information “Disconnected. Will reconnect”, but it needs several refreshes before the website is displayed again. At first I thought it was due to the dynamically assigned IP address and changed it to static. At first I thought that my problem had been solved, since this phenomenon no longer occurs in the browser on my cell phone, but this problem still occurs on my computer (regardless of whether it is via WLAN or LAN).

Thats some information about my HA Installation:

  • Core2024.3.3
  • Supervisor2024.03.1
  • Operating System12.1
  • Frontend20240307.0

Thats some information about my proxmox installation
Proxmox Virtual Environment 8.1.4

I hope I have described the problem precisely enough. It doesn’t always happen either. Sometimes a refresh is enough and sometimes I need up to 10 refreshes before the website is displayed again. I hope someone can help me. If further information is required, I will be happy to provide it. If I provide a log file, please just tell me how to get there.

Have you looked through the logs? Try doing a ping /t against the HA ip and something else (external website, your router, anything besides HA) and see if you lose connection to only HA or both.

1 Like

@fleskefjes Thanks for your answer. Since I’m new to this topic - can you tell me how I can get to the log file?

Settings → System → Logs. In there in the top right corner you can switch between the different logs. You can also check the log file home-assistant.log (and log1) in the configuration folder.

1 Like

I now executed a “ping -t” on the IP address of HA and had problems with the connection as you can see in the picture.
Ping 192.168.19.43

Then I tried to perform a refresh and pinged the IP address of the Proxmox server.
Ping 192.168.19.200

Both have no connection interruptions but the refresh or the connection does not work immediately.

Now I’ll take a look at the log. Let’s see if I can figure it out.

What also surprises me is that I only have this problem with the Google Chrome browser on my computer and not with the Google Chrome browser on my phone. Could it perhaps have something to do with the browser settings?

You could try with Edge just to rule it out.

1 Like

So with Edge the connection to the website worked straight away. I’ll keep watching this. Thanks for the help and I could have actually figured it out myself. Nevertheless, thank you very much.

1 Like

On your dashboard, Click your user profile in the bottom left.

That will take you to your Profile settings page. Scroll down and check if “Automatically Close Connection” is enabled.

1 Like

@ShadowFist
I deactivated this option but it doesnt matter. I still have the refresh problems in Google Chrome. Edge still works fine.
I also deactivated the Browser add-ons (AdBlocker and GDATA Webprotection) but it doesnt help. So actually i dont know the problem with Google Chrome.

Weird. Give chrome a good old cache clear and log out & back in from HA just in case.