-
Notifications
You must be signed in to change notification settings - Fork 892
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
Could not do a head request: invalid character #1514
Comments
Seems like there was some kind of temporary network error. During your first session, it only warned you that it could not perform a "cheap" check for updates, falling back to a normal pull. Whatever error message the server responded with is probably now gone and it works normally. |
I'm having the same issue on Raspberry Pi 4 (AARCH64). I couldn't revert back to docker-compose 1.28.2, as no binary for aarch64 existed. It looks like there is a problem with docker-compose v.2. |
I have exactly the same issue. Occasionally I get this error-message for alternating images (not the same each time). I have the impression that this message has been occurring since the last Watchtower update. |
@UniverseXXX and @hoorna what part do you mean is the same? I don't see how docker-compose version is related to this issue. Nor should there be anything in the last release that alters this behaviour... |
@piksel, I also get the "invalid character 'S' looking for beginning of value". Today I got for example an email message with the following text: Before the latest Watchtower update I never got such a message. |
The message is a bit cryptic, but what it means is that the repository responds with something that is not valid JSON. Instead of starting with |
If the message is cryptic and making it difficult to troubleshoot, I wonder if it would be worthwhile investigating a way to make that particular error more verbose (but not run the entire container verbose as that might just cause noise, even more so if it's an intermittent issue (seems to be in my case))? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Since #1528 was opened for the 404 errors, let's use it for those errors, since it seems to be something different from the original issue here. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I still get this error Notifications: --- [Log] --- Container errors --- [Log] --- |
@lordraiden It's not an error, but rather a warning. If you don't care about the warning you can turn it off. It means that watchtower gets an invalid response from the repository and can't perform a cheap change check and falls back to a regular pull. This issue go hijacked a bit for the occurring 404 errors (which was due to a change in docker buildx). I'll reopen this and clean it from unrelated comments. |
The response should be logged in full to aid in further investigation. Reopening this. |
Describe the bug
Issues with the crowdsec image.
Error:
Steps to reproduce
Watchtower config:
Expected behavior
To update.
Screenshots
Environment
Your logs
Additional context
Unsure if related to #1050
Doing a manual run does not trigger any issues.
The text was updated successfully, but these errors were encountered: