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(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? 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.