HAOS supervisor has no internet connection

I just made a fresh install of x64 HAOS on a Hyper-V VM and durring boot I get the following error:

[Failed] Failed to start Wait Until Kernel Time Synchronized.

When checking the supervisor log there are a bunch of readouts that say supervisor has no imternet connection and connecting to the web interface times out.

Running terminal and checking timedatectl
The “Universal time” is off by 1 hour from my local time. And the NTP is active. Restarting did not fix the issue.

How do I solve this?

Probably wrongly configured network in Hyper-V or DNS config errors. Does it show an IP address if you open the console?

Yes, it got automatically assigned an IP via DHCP. I changed it to a static IP for my purposes but it worked with neither.

What kind of IP. HyperV will assign an apipa address in the 169.x range if you don’t have connectivity and dhcp is enabled. It gives an IP to enable the tcp stack to talk to the local segment but doesn’t mean you’re connected…

Meaning you can change the IP and you still be not connected.

Also desktop or server HV?

(and if desktop you dont intend to need USB devices in HA from the host, do you? Desktop HV does not support USB pass through)

It was assigned a correct ip by my router from it’s configured DHCP IP range, not by HyperV.
I am using the desktop version, and do not have a plan to pass through USB devices

Then basics. Can you ping the expected ip for your desktop. Have you setup the windows firewall to pass through the IP… Etc.

If I ping the device from the local network it responds. I have not set any firewall rules but that should not matter since I am trying to connect locally at first.

Can you get to the HA command line. What happens if you ping a well known like Google from there.
Also what country are you in and has any ha install worked for you previously?

when I ping 1.1.1.1 from the HA terminal it says the network is unreachable. When I ping my router I get a response.

This is my first time doing anything HA related but I have other services running and they do have internet connection. The issue seems to be the wrong time.

The time being wrong wouldn’t stop you pinging 1.1.1.1. I’d suggest looking at your network perhaps gateway is wrong or a firewall issue.

Time should correct itself when network connectivity works and it can get its time from the Internet time sources.

I figured it out. It turned out to be 2 separate issues. Me not being able to access the web interface was because I am a moron and did not include the port number at the end of the IP. The time sync and internet issue stays a mistery however, it got resolved with a clean install of the VM. After that the time was consistent and the supervisor got internet acess.