1 year ago

#385324

test-img

dawanse

ExpiredTokenException: Gitlab runner on AWS Fargate

I have set up a GitLab runner on AWS fargate. It works perfectly fine one time and after some time it throws ExpiredTokenException while running jobs.

ERRO[2022-04-07T04:04:31Z] Application execution failed                  PID=16444 error="starting new Fargate task: running new task on Fargate: error starting AWS Fargate Task: ExpiredTokenException: The security token included in the request is expired\n\tstatus code: 400, request id: xxxxxxxxxx"

I have read troubleshoot docs from Gitlab and AWS but there is no related information about ExpiredTokenException. The links are:

I would appreciate any lead to this problem.

amazon-web-services

gitlab

amazon-ecs

gitlab-ci-runner

aws-fargate

0 Answers

Your Answer

Accepted video resources