Can't update install some addons IE file manager

I am on a supervised install and don’t seem to be able to install/update some addons. I am getting a certificate error not sure how to troubleshoot/fix this.

Can't install homeassistant/amd64-addon-configurator:5.4.2: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=5.4.2&fromImage=homeassistant%2Famd64-addon-configurator&platform=linux%2Famd64: Internal Server Error ("Get "https://registry-1.docker.io/v2/": x509: certificate is valid for *.gn.polyai.app, not registry-1.docker.io")
Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:124
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 8:05:13 AM (1 occurrences)
Last logged: 8:05:13 AM

Failed to to call /addons/core_configurator/install - Can't install homeassistant/amd64-addon-configurator:5.4.2: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=5.4.2&fromImage=homeassistant%2Famd64-addon-configurator&platform=linux%2Famd64: Internal Server Error ("Get "https://registry-1.docker.io/v2/": x509: certificate is valid for *.gn.polyai.app, not registry-1.docker.io")

thanks

Craig

A little more info

## System Information

version | core-2022.11.3
-- | --
installation_type | Home Assistant Supervised
dev | false
hassio | true
docker | true
user | root
virtualenv | false
python_version | 3.10.7
os_name | Linux
os_version | 5.10.0-19-amd64
arch | x86_64
timezone | America/Vancouver
config_dir | /config

<details><summary>Home Assistant Community Store</summary>

GitHub API | ok
-- | --
GitHub Content | failed to load: timeout
GitHub Web | ok
GitHub API Calls Remaining | 4722
Installed Version | 1.28.3
Stage | running
Available Repositories | 1217
Downloaded Repositories | 21

</details>

<details><summary>Home Assistant Cloud</summary>

logged_in | false
-- | --
can_reach_cert_server | ok
can_reach_cloud_auth | failed to load: timeout
can_reach_cloud | ok

</details>

<details><summary>Home Assistant Supervisor</summary>

host_os | Debian GNU/Linux 11 (bullseye)
-- | --
update_channel | stable
supervisor_version | supervisor-2022.10.2
agent_version | 1.1.1
docker_version | 20.10.8
disk_total | 55.0 GB
disk_used | 31.4 GB
healthy | true
supported | true
supervisor_api | ok
version_api | failed to load: timeout
installed_addons | Duck DNS (1.15.0), Terminal & SSH (9.6.1), Node-RED (13.5.3), AppDaemon (0.10.1), Z-Wave JS (0.1.74), SSH & Web Terminal (12.1.3), Home Assistant Google Drive Backup (0.105.2), UniFi Network Application (2.4.1), ESPHome (2022.11.1), Zigbee2mqtt Edge (edge), Mosquitto broker (6.1.3), Samba share (10.0.0), WireGuard (0.7.0), Inadyn (2.9.1-7), AdGuard Home (4.7.5), NGINX Home Assistant SSL proxy (3.1.5), HoyMiles Solar Gateway Edge Addon (1.0.13), Cloudflared (4.0.3), Plex Media Server (3.1.2)

</details>

<details><summary>keymaster</summary>

zwave_integration | zwave_js
-- | --
network_status | on

</details>

<details><summary>Dashboards</summary>

dashboards | 7
-- | --
resources | 12
views | 10
mode | storage

</details>

<details><summary>Recorder</summary>

oldest_recorder_run | November 19, 2022 at 7:17 AM
-- | --
current_recorder_run | November 20, 2022 at 7:45 AM
estimated_db_size | 243.65 MiB
database_engine | sqlite
database_version | 3.38.5

</details>

<details><summary>Spotify</summary>

api_endpoint_reachable | ok
-- | --

</details>

It appears it is not just core addons I get this error trying to install alex belgiums

Get "https://registry-1.docker.io/v2/": x509: certificate is valid for *.gn.polyai.app, not registry-1.docker.io

basically the same certificate error.

Where is this Cert stored —how do I update it?

I was able to update Home assistant this morning so this error is only affecting some of the addons.

Although I am talking to myself I will keep posting in case I solve it and help someone else in the future.

After much googling I believe this may be a weird dns issue docker.io is resolving to gn.polyai.app

I have changed dns servers flushed the dns cache and it is still an issue.

open to suggestions.

Craig

Went away for a couple days and noticed one add-on was updated. It was from alexbelgium’s repo.
Installed another add-on from his repo successfully. I still cannot install add-on’s from the official repo.

bumping this still looking for any ideas

Okay it was me the whole time. While trying to fix another problem several weeks ago I had put an entry in my hosts file. Removed it and all is good.