fmartinou / whats-up-docker

What's up Docker ( aka WUD ) gets you notified when a new version of your Docker Container is available.
https://fmartinou.github.io/whats-up-docker
MIT License
1.02k stars 33 forks source link

ghcr UNAUTHORIZED issue #242

Closed deluxestyle closed 1 year ago

deluxestyle commented 1 year ago

Hi, I try to watch my home assistant container, but I get following error message

13:13:09.443 WARN whats-up-docker/watcher.docker.local: Error when processing (401 - {"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Class":"","Name":"ghcr.io/home-assistant/home-assistant","Action":"pull"}]}]}) (container=local_homeassistant_docker)

seems somehow I missed something?

Full log here:

`13:12:59.825 INFO whats-up-docker: What's up Docker? is starting (version = latest)

13:12:59.830 INFO whats-up-docker/store: Load store from (/store/wud.json)

13:12:59.847 INFO whats-up-docker/store: Create Collection app

13:12:59.856 INFO whats-up-docker/store: Migrate data from version undefined to version latest

13:12:59.860 INFO whats-up-docker/store: Create Collection containers

13:12:59.861 INFO whats-up-docker/prometheus: Init Prometheus module

13:12:59.909 INFO whats-up-docker/registry: Register all components of kind trigger for provider mqtt

13:13:00.648 INFO whats-up-docker/trigger.mqtt.mosquitto: Register with configuration {"password":"w*d","user":"wud","url":"mqtt://192.168.200.33:1885","hass":{"enabled":true,"prefix":"homeassistant"},"topic":"wud/container","tls":{"rejectunauthorized":true},"threshold":"all","mode":"simple","once":true,"simpletitle":"New ${kind} found for container ${name}","simplebody":"Container ${name} running with ${kind} ${local} can be updated to ${kind} ${remote}\n${link}","batchtitle":"${count} updates available"}

13:13:02.229 INFO whats-up-docker/registry.ghcr: Register with configuration {"username":"deluxestyle@googlemail.com","token":"g**p"}

13:13:02.247 INFO whats-up-docker/registry.hub: Register with configuration {"password":"d**8","login":"deluxestyle"}

13:13:02.255 INFO whats-up-docker/registry.lscr: Register with configuration {"token":"g**H","username":"deluxestyle"}

13:13:02.863 INFO whats-up-docker/registry.ecr: Register with configuration {}

13:13:02.890 INFO whats-up-docker/registry.hotio: Register with configuration {}

13:13:02.900 INFO whats-up-docker/registry.quay: Register with configuration {}

13:13:06.105 INFO whats-up-docker/watcher.docker.local: Register with configuration {"watchbydefault":false,"socket":"/var/run/docker.sock","port":2375,"cron":"0 ","watchall":false,"watchevents":true}

13:13:06.111 INFO whats-up-docker/watcher.docker.local: Cron scheduled (0 )

13:13:06.308 INFO whats-up-docker/registry: No authentication configured => Allow anonymous access

13:13:06.331 INFO whats-up-docker/authentication.anonymous.anonymous: Register with configuration {}

13:13:06.380 WARN whats-up-docker: Anonymous authentication is enabled; please make sure that the app is not exposed to unsecure networks

13:13:06.449 INFO whats-up-docker/api: Server listening on port 3000 (HTTP)

13:13:07.784 INFO whats-up-docker/watcher.docker.local: Cron started (0 )

13:13:07.862 INFO whats-up-docker/watcher.docker.local: Listening to docker events

13:13:09.443 WARN whats-up-docker/watcher.docker.local: Error when processing (401 - {"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Class":"","Name":"ghcr.io/home-assistant/home-assistant","Action":"pull"}]}]}) (container=local_homeassistant_docker)

13:13:09.457 INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_homeassistant_docker]

13:13:10.740 INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_mariadb]

13:13:12.902 INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_wud]

13:13:12.961 INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_mosquitto]

13:13:13.004 INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_nginx-proxy-manager]

13:13:13.019 INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_vaultwarden]

13:13:13.034 INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_deconz]

13:13:13.048 INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_dnscrypt]

13:13:13.063 INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_dockerproxy]

13:13:13.077 INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_pihole]

13:13:13.083 INFO whats-up-docker/watcher.docker.local: Cron finished (10 containers watched, 1 errors, 0 available updates)`

deluxestyle commented 1 year ago

it is now working without any change