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

Why does the MacOS Runner fail with 401 or 409 error randomly?

trittmueller March 28, 2024

I am really desparate right now, because the runner seems to be very instable.

It 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(

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

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

*__checkpoint ⇢ 401 from PUT


Could it have to do with the following error, that also occured randomly? I know the error looks like that the runner was used by several parties at the same time. However, it is only used in one 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.

1 answer

0 votes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 28, 2024

Hi Tritt,

I can see that you are a member of a Premium company workspace (the name starts with a C).

Please raise a ticket directly with our support team using your company workspace URL with Bitbucket Cloud selected as the product and Technical Issues & Bugs selected as the issue type so that we may gain access to your workspace and assist you further:

If you have issues raising a ticket, please let me know and I will do so on your behalf - I will need to know your timezone so I can get this routed to the team within your geographical location.


- Ben (Bitbucket Cloud Support)




Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events