Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

MacOS Runner fails with 401 or 409 error

trittmueller March 26, 2024

Hi!

Can someone please explain to me, why the MacOS runner randomly throws the following error:


[2024-03-26 08:42:54,961] Updating runner state to "ONLINE".

[2024-03-26 08:42:55,000] An error occurred whilst updating runner state to "ONLINE".

com.atlassian.pipelines.stargate.client.core.exceptions.StargateUnauthorizedException: Response Summary: HttpResponseSummary{httpStatusCode=401, httpStatusMessage=Unauthorized, bodyAsString={"code":401,"message":"Unauthorized"}}

at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)

Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:

Error has been observed at the following site(s):

*__checkpoint ⇢ 401 from PUT https://api.atlassian.com/ex/bitbucket-pipelines/rest/internal/accounts


 

Could it have to do with the following error, that also occured randomly? It know the error looks like that the runner was used by several parties at the same time. However, it is only used in on repository.


[2024-03-25 15:49:26,275] Updating runner state to "ONLINE".

[2024-03-25 15:49:26,650] An error occurred whilst updating runner state to "ONLINE".

com.atlassian.pipelines.stargate.client.core.exceptions.StargateConflictException: Response Summary: HttpResponseSummary{httpStatusCode=409, httpStatusMessage=Conflict, bodyAsString={"key":"agent-service.runner.conflict","message":"Simultaneous state updates were attempted for runner with id:


 

I couldn´t find any help for either of the errors anywhere, so I will be grateful for any advice.

If that is important: I am using the latest Java Version.

I tried both the latest runner version and an older one (1.508), just to see if that would change anything, but sadly no.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events