watchtower icon indicating copy to clipboard operation
watchtower copied to clipboard

Could not do a head request for .........

Open n0rt0nthec4t opened this issue 9 months ago • 11 comments

Describe the bug

Seems recently been getting these errors/warnings popping up in my watchtower logs. never seen before. Not sure what this all means

Steps to reproduce

.Appearing in logs

Expected behavior

No warnings?

Screenshots

No response

Environment

Docker version 26.1.2, build 211e74b Ubuntu 24.04 x64

Your logs

time="2024-05-13T09:57:29+10:00" level=warning msg="Could not do a head request for \"portainer/portainer-ce:latest\", falling back to regular pull." container=/portainer image="portainer/portainer-ce:latest"
time="2024-05-13T09:57:29+10:00" level=warning msg="Reason: Get \"https://index.docker.io/v2/\": dial tcp: lookup index.docker.io on x.x.x.x:53: read udp y.y.y.y:49510->x.x.x.x:53: i/o timeout" container=/portainer image="portainer/portainer-ce:latest"

Additional context

No response

n0rt0nthec4t avatar May 13 '24 00:05 n0rt0nthec4t

Hi there! 👋🏼 As you're new to this repo, we'd like to suggest that you read our code of conduct as well as our contribution guidelines. Thanks a bunch for opening your first issue! 🙏

github-actions[bot] avatar May 13 '24 00:05 github-actions[bot]

I just got this error as well.. Could not do a head request for "cloudflare/cloudflared:latest", falling back to regular pull. Reason: Get "https://index.docker.io/v2/": dial tcp: lookup index.docker.io on 192.168.1.1:53: read udp 172.17.0.5:48571->192.168.1.1:53: i/o timeout Could not do a head request for "postgres:16", falling back to regular pull. Reason: Get "https://index.docker.io/v2/": dial tcp: lookup index.docker.io on 192.168.1.1:53: read udp 172.17.0.5:42865->192.168.1.1:53: i/o timeout

redstormsju avatar May 19 '24 12:05 redstormsju

Any movement on this???

n0rt0nthec4t avatar Jun 14 '24 00:06 n0rt0nthec4t

I tried this….so far haven’t had this message. However I did update container manually before doing this. So we shall see what happens

watchtower interval as appropriate. #tips

On Thu, Jun 13, 2024 at 8:06 PM mark @.***> wrote:

Any movement on this???

— Reply to this email directly, view it on GitHub https://github.com/containrrr/watchtower/issues/1980#issuecomment-2166982720, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYOO5PJYCKKK4MX6DHV7VVTZHIXZJAVCNFSM6AAAAABHTH3HZCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRWHE4DENZSGA . You are receiving this because you commented.Message ID: @.***>

redstormsju avatar Jun 14 '24 20:06 redstormsju

Same issue from yesterday. only updates every 24 hours.

Could not do a head request for "dgongut/docker-controller-bot:latest", falling back to regular pull.
Reason: invalid character '<' looking for beginning of value
Unable to update container "/docker-controller-bot": Error response from daemon: Head "https://registry-1.docker.io/v2/dgongut/docker-controller-bot/manifests/latest": received unexpected HTTP status: 503 Service Unavailable. Proceeding to next.
Could not do a head request for "portainer/portainer-ce:latest", falling back to regular pull.
Reason: invalid character '<' looking for beginning of value
Unable to update container "/portainer": Error response from daemon: Head "https://registry-1.docker.io/v2/portainer/portainer-ce/manifests/latest": received unexpected HTTP status: 503 Service Unavailable. Proceeding to next.
Could not do a head request for "portainer/agent:latest", falling back to regular pull.
Reason: invalid character '<' looking for beginning of value
Unable to update container "/portainer_agent": Error response from daemon: Head "https://registry-1.docker.io/v2/portainer/agent/manifests/latest": received unexpected HTTP status: 503 Service Unavailable. Proceeding to next.
Could not do a head request for "jsavargas/telethon_downloader:latest", falling back to regular pull.
Reason: invalid character '<' looking for beginning of value
Unable to update container "/telethon_downloader": Error response from daemon: Head "https://registry-1.docker.io/v2/jsavargas/telethon_downloader/manifests/latest": received unexpected HTTP status: 503 Service Unavailable. Proceeding to next.
Could not do a head request for "kostyaesmukov/smtp_to_telegram:latest", falling back to regular pull.
Reason: invalid character '<' looking for beginning of value
Unable to update container "/smtp_to_telegram": Error response from daemon: Head "https://registry-1.docker.io/v2/kostyaesmukov/smtp_to_telegram/manifests/latest": received unexpected HTTP status: 503 Service Unavailable. Proceeding to next.
Could not do a head request for "containrrr/watchtower:latest", falling back to regular pull.
Reason: invalid character '<' looking for beginning of value
Unable to update container "/watchtower": Error response from daemon: Head "https://registry-1.docker.io/v2/containrrr/watchtower/manifests/latest": received unexpected HTTP status: 503 Service Unavailable. Proceeding to next.

apriliars3 avatar Jun 21 '24 07:06 apriliars3

The issue seems to remain as I keep getting these for example:

level=warning msg="Could not do a head request for "tailscale/tailscale:latest", falling back to regular pull." container=/tailscale image="tailscale/tailscale:latest" level=warning msg="Reason: Get "https://index.docker.io/v2/": dial tcp: lookup index.docker.io on 127.0.0.11:53: server misbehaving" container=/tailscale image="tailscale/tailscale:latest" level=warning msg="Could not do a head request for "pihole/pihole:latest", falling back to regular pull." container=/pihole image="pihole/pihole:latest"

Triarii1 avatar Aug 09 '24 09:08 Triarii1

we got here after reconfiguration of the watchtower, we changed our config to do 12h checks. i suspected that we hit ratelimits on docker.io, until i found this issue here.

Nebdir avatar Aug 12 '24 07:08 Nebdir

same question since Sept 12

xiaozhubin avatar Sep 29 '24 14:09 xiaozhubin

me too

KingDoum avatar Sep 30 '24 12:09 KingDoum

Guess it'll never get fixed since being raised 5months ago

n0rt0nthec4t avatar Sep 30 '24 22:09 n0rt0nthec4t

Everything working fine for the past couple of years but seeing lots more of these errors recently - anyone worked out what is going on?

Could not do a head request for "matomo:latest", falling back to regular pull.
Reason: invalid character '<' looking for beginning of value
Found new typhonragewind/meshcentral:latest image (221b58c908f7)
Could not do a head request for "jc21/nginx-proxy-manager:github-pr-3121", falling back to regular pull.
Reason: registry responded to head request with "404 Not Found", auth: "not present"
Unable to update container "/nginx-proxy-manager-app-1": Error response from daemon: manifest for jc21/nginx-proxy-manager:github-pr-3121 not found: manifest unknown: manifest unknown. Proceeding to next.

EDIflyer avatar Oct 20 '24 11:10 EDIflyer

I got the same wrong message when I run docker compose in cmd. I find this https://forums.docker.com. Then I logged in my account in docker.com, then create a Personal access tokens in account setting, and run the command line it tells, then the docker compose in command line worked. It seems docker.com change something, you have to log in to use the service. You guys can try it.

xiaozhubin avatar Oct 20 '24 16:10 xiaozhubin

Interesting, thanks @xiaozhubin - have created a token and logged in via the CLI, so will see if that makes a difference.

EDIflyer avatar Oct 20 '24 17:10 EDIflyer

Just to update - no change overnight despite the PAT being in place.

EDIflyer avatar Oct 21 '24 22:10 EDIflyer

I'm getting the impression this project is not being maintained anymore? Over 12 months since the last release etc etc

n0rt0nthec4t avatar Oct 23 '24 02:10 n0rt0nthec4t

Just to update - no change overnight despite the PAT being in place.

me neither ☹️

xiaozhubin avatar Oct 23 '24 14:10 xiaozhubin