Connection lost, reconnecting, after a reboot after about one minute

Apologies if this is not the right place for this.

I have been using my home assistant for about four years. It is running in a VM in my unraid server. Two days ago I couldn’t connect to it through my phone or a browser on any computer, I have tried both local and away. I hadn’t updated or changed anything in home assistant for a few weeks and I haven’t changed any router settings, I just couldn’t connect. I eventually restarted the VM from the unraid interface and it worked for about one minute. After one minute I get “Connection lost reconnecting” at the bottom of the browser.

I have tried reinstalling in a new VM from a backup four days ago when I know everything was working and I am getting the same behavior. I have access to the ha CLI and have updated the OS and core from it and am still unsuccessful in getting to work for more than one minute. I was able to boot into safe mode and the same thing happens.

Looking at the core logs through the cli I get this error:

I am guessing an integration is not working correctly but it is difficult to disable them as I have at most one minute after a reboot to do things in the ui.

Does anyone have any ideas for what is causing it? I can try to upload other logs but I thing I am limited to the cli interface I can get from unraid.

There is a way to start HA in safe mode, so only core integrations get loaded.
This should make it possible to disable the other integrations and then you can enable one at a time to see the outcome.

Search the forum or docs for safe mode.

Thanks for the response. I have tried safe mode and it still loses connection after one minute. Would this indicate an issue with my network instead of home assistant?

It could be, or the hardware or maybe in rare cases HA core.
I say rare cases, because I have not seen a lot of other users having issues on the forum.

The safe mode just rules out third party integrations.