I’ve been having similar problems with my iPhone 14 for the last few days. If I refresh iMac browser based HA core it connects fine but stops connecting after a short time of inactivity. Get error NSURLErrorDomain -1001 and have restarted etc as well.