-
Notifications
You must be signed in to change notification settings - Fork 854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Update Containers - Timeout #361
Comments
Hi there! |
I am also seeing this error. I do believe watchtower also updated recently. This should be high priority. What broke? |
@iwanhsky thank you for your report! if you run watchtower directly without using your own Dockerfile - do you still get the same error? That is, using containrrr/watchtower:latest instead.
The last release was July 2nd. Have you been experiencing this since then? Any more details? |
@simskij I am not currently using a Dockerfile to run WT. I am using the docker run command in the docs with a restart always tag. |
@unstephenk yeah, that part was not aimed towards you. Still cueious when it started happening for you though |
Started over the weekend when no one was in office at 2am. It had been running great for 5 days prior. All of a sudden, got a ton of messages on slack for each container saying |
I've just run through a couple of complete runs, both with and without having any updates available and sadly, I can't provoke any error messages to appear. Everything just seems to work. The config I'm using in my local lab:
where keep-up is:
One thing I come to think of is that the image pulls are actually performed by the docker daemon rather than by watchtower, while the notifications are being sent directly from watchtower. Are you able to pull images directly from your docker host? A restart of the host could be a way to resolve this. I understand though if a restart isn't feasible if you run watchtower in a server environment. Also, any other changes or updates to the actual docker host? One thing to note is that Docker Engine 19.03.1 was released little more than a week ago. One of the known issues of that release (source here) is described like this:
And I'm still on 18.09.6, which might explain why it works flawlessly for me. |
@simskij
The problem remains.
I have to use my own Dockerfile and copy rights through config.json
|
Any ideas? |
I have very limited knowledge of Docker for Windows. If I remember correctly it has a lot of weird quirks that are yet to be ironed out. Let me have a look next time I have access to a Windows computer and get back to you. Thanks :) |
This is what I have discovered so far: I have couple of raspberry pi's running in total different geo locations with a short update interval of 30s. Today I saw a recurring pattern which seems to be related to the registry (Hub, ECR and GitLab Registry). Almost all of pi's did report My idea was to change the above severity down to Let's imagine something like Should report such a feature request? Does it make sense? Or do you think this is something what belongs to a logging/monitoring configuration? |
@christoph-kluge |
Other than that, I think we can safely arrive at the conclusion that this happens because watchtower is unable to contact the registry. This might be caused by:
If you are experiencing an issue you think does not fall into these two categories, feel free to open a new issue. Closing this. |
To avoid important communication to get lost in a closed issues no one monitors, I'll go ahead and lock this issue. If you want to continue the discussion, please open a new issue. Thank you! 🙏🏼 |
Hi, I have the same problems with #192
We use Nexus OSS 3.17.0-01
My Dockerfile and docker-compose.yml
Changed timeout to 180 in Nexus
This did not solve the problem
time="2019-08-06T04: 15: 04Z "level = info msg =" Unable to update container /frontend. Proceeding to next."
Any ideas to solve this problem? Many messages come to Slack:
The text was updated successfully, but these errors were encountered: