buildkite / buildkite/agent

Agent stuck finishing a build

Open
#1,097 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
1.1k
Forks
378
Avg merge
2d 6h
Merged PRs (30d)
74

Description

One of my agents got 'stuck' doing this every second or so:
PUT https://agent.buildkite.com/v3/jobs//finish: 401 Invalid access token (Attempt 2484030/∞ Retrying in 1s

Another agent didn't have a current job, but was also stuck trying to do a heartbeat and receiving the same 401.

This is quite a lot of retries and it can't really recover now it has lost it authorisation. The agent should probably attempt a full reconnection at this point.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.