Watchtower HTTP API is not accessible. Running docker run with --debug reveals this message: level=debug msg="Watchtower HTTP API skipped."curl returns curl: (56) Recv failure: Connection reset by peer error. My user is part of the docker group, so binding to the Docker socket shouldn't be a problem. I also ran the below with sudo just to be sure, still did not work.
user@host:~$ curl -v localhost:8080/v1/update
* Trying 127.0.0.1:8080...
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET /v1/update HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.88.1
> Accept: */*
>
* Recv failure: Connection reset by peer
* Closing connection 0
curl: (56) Recv failure: Connection reset by peer
Steps to reproduce
Issue docker run command provided above
Observe watchtower container log reporting "Watchtower HTTP API skipped."
curl attempt above fails
Expected behavior
Should be able to curl the Watchtower HTTP API endpoint per docs
Screenshots
No response
Environment
OS: Debian 12.7
Architecture: amd64
Linux Kernel: 6.1.0-26
Docker Version: 27.3.1
Your logs
time="2024-11-21T16:00:02Z" level=debug msg="Sleeping for a second to ensure the docker api client has been properly initialized."
time="2024-11-21T16:00:03Z" level=debug msg="Making sure everything is sane before starting"
time="2024-11-21T16:00:03Z" level=debug msg="Retrieving running containers"
time="2024-11-21T16:00:03Z" level=debug msg="There are no additional watchtower containers"
time="2024-11-21T16:00:03Z" level=debug msg="Watchtower HTTP API skipped."
time="2024-11-21T16:00:03Z" level=info msg="Watchtower 1.7.1"
time="2024-11-21T16:00:03Z" level=info msg="Using no notifications"
time="2024-11-21T16:00:03Z" level=info msg="Checking all containers (except explicitly disabled with label)"
time="2024-11-21T16:00:03Z" level=info msg="Scheduling first run: 2024-11-22 16:00:03 +0000 UTC"
time="2024-11-21T16:00:03Z" level=info msg="Note that the first check will be performed in 23 hours, 59 minutes, 59 seconds"
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! š
Describe the bug
Watchtower HTTP API is not accessible. Running
docker run
with--debug
reveals this message:level=debug msg="Watchtower HTTP API skipped."
curl
returnscurl: (56) Recv failure: Connection reset by peer
error. My user is part of thedocker
group, so binding to the Docker socket shouldn't be a problem. I also ran the below withsudo
just to be sure, still did not work.Here's my setup:
My
curl
command & output:Steps to reproduce
docker run
command provided abovecurl
attempt above failsExpected behavior
Should be able to
curl
the Watchtower HTTP API endpoint per docsScreenshots
No response
Environment
Your logs