The add-on installation in HomeAssistant failed

On Windows 10, the HomeAssistant installed using Hyper-V failed to install the add-on in HomeAssistant. The installation terminal &SSH prompted the following error:
Failed to install homeassistant/amd64-addon-ssh: 9.16.0: http+docker: // 500 server error… Internal server error (" Get https://registry-1.docker.io/v2/ : net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) ")
The installation of Zigbee2MQTT prompts the following error:
Cmd (‘git’) failed due to: exit code (128) cmdline: Failed to connect to github.com the port 443 after 54 ms: Could not connect to server '.
Could anyone tell me how to configure HomeAssistant so that it can install these components normally

It’s either a firewall or DNS issue.

By the way, this is a poor choice of OS to be running your VMs on:

So your Home Assistant instance (which if you installed the Home Assistant VHDX)

has Internet Access which it would have to have to have completed the onboarding process (initial setup). What you might not see is that Home Assistant is actually a docker container. Addons like ZigBee2MQTT are also docker containers which connect and communicate to Home Assistant on a private 172.x.x.x network. Mine, for example, is 172.30.x.x. Your host os probably doesn’t see that private 172 network. My guess based upon what you’ve posted is that the ZigBee2MQTT add-on container isn’t getting Internet access for some reason.

Do you have other addons that installed? Most of them also would go to github.com to download the container, but that might help to rule something out.