How to debug "could not create new auth interceptor: rpc error: code = DeadlineExceeded" #5247
-
I have an error with my docker-compose setup. The woodpecker server starts but the agent does not want to connect.
I have the following docker-compose.yaml. My loadbalancer is traefik. My woodpecker is connected to the web network, which is connected to traefik container and the woodpacker network for the connection of the agent and the server. I create a runner in the GUI and set the key in the environment variable for the runner in the compose file.
What exactly does the error message mean? Is it an error between the server and the forgejo instance (codeberg)? Is it an error between the agent and the server? kind regards |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
The agent fails to run as it tries to listen at port 3000. Can you try changing the healthcheck address? https://woodpecker-ci.org/docs/administration/configuration/agent#healthcheck_addr |
Beta Was this translation helpful? Give feedback.
-
Thank you for your answer. I added
I also tried to deactivate the healthcheck with
|
Beta Was this translation helpful? Give feedback.
-
I have news from some experiments: |
Beta Was this translation helpful? Give feedback.
I have news from some experiments:
The same docker-compose.yaml works on a second machine with Debian Trixie. So it's a newer version of docker.
After that I reinstalled docker on the server with
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Before and after the installation the docker.io version was
20.10.24+dfsg1-1+deb12u1+b1
. But after the reinstallation the docker-compose.yaml worked again.I'm not sure, which component of docker on my server was screwed up, because all other things including many different components worked, except the agent.
Thank you very much for your time.