Starting last week, we’ve had a lot of issues with our small fleet of self hosted MacOS runners. First it appeared that an automatic upgrade failed, then once that issue was resolved we’re now seeing the issue of runners showing as active from within CircleCI, but the runner never processes jobs. The runner logs are full of the following error, which seems to be the root cause:
time=“2022-06-15T07:21:40-04:00” level=error msg=“error running task” error=“unexpected error claiming task: server supplied detail: hostname not valid (400-Bad Request)”
MacOS: arm64 on Monterey 12.3.1
I just wanted to follow up on this post in case others run into the same issue.
This issue was due to an issue on CircleCI in regards to the hostname that was being used.
This issue has now been resolved but if anyone else runs into a similar issue please feel free to raise a support ticket linked here
I guess the question is what changes have you made as self-hosted runners are now reporting
Agent download unsuccessful.
error: allocation=“7OUPNF54” download failed: error downloading task agent version=“1.0.132505-9428cda7” os=“linux” arch=“amd64”: could not write file “/tmp/circleci-launch-agent3989761449/circleci-agent/1.0.132505-9428cda7/linux/amd64/circleci-agent.tmp”: context deadline exceeded (Client.Timeout or context cancellation while reading body)
The whole path is created but no file is retrieved.