Setup a woordpecker server and agent via 2 docker containers with a shared WOODPECKER_AGENT_SECRET
Everything works fine at first, but after a couple of hours the communication between server and agent fails.
The logs from the agent are:
ERR src/agent/rpc/client_grpc.go:461 > grpc error: report_health(): code: Unauthenticated error="rpc error: code = Unauthenticated desc = access token is invalid: invalid token: token has invalid claims: token is expired"
5:40PM ERR src/cmd/agent/core/agent.go:251 > failed to report health error="rpc error: code = Unauthenticated desc = access token is invalid: invalid token: token has invalid claims: token is expired"
The server doesn't log anything relevant about it I think.
So since this is so basic, I really hesitated to report that bug, believing I made some mistake, so I actually recreated my real setup with the most basic setup just locally and it is the same problem.
Component
server, agent
Describe the bug
Setup a woordpecker server and agent via 2 docker containers with a shared
WOODPECKER_AGENT_SECRET
Everything works fine at first, but after a couple of hours the communication between server and agent fails. The logs from the agent are:The server doesn't log anything relevant about it I think. So since this is so basic, I really hesitated to report that bug, believing I made some mistake, so I actually recreated my real setup with the most basic setup just locally and it is the same problem.
Steps to reproduce
Expected behavior
No response
System Info
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]