HA on Windows Virtual Machine Keeps Disconnecting?

Hi there, I am new to HA. I have installed HA on a Windows 10 computer that is always on in a virtual machine. Virtual machine created by virtual box. Only one virtual machine on system. Computer power management is set to never sleep.

HA continues to disconnect. HA on the system has to reconnect. HA app from iPad or iPhone cannot connect until system reconnects.

To reconnect I have to reboot the Windows computer and restart the virtual machine.

Any advise on what is happening, why and how to fix will be greatly appreciated.