Skip to content

Raise the Central Portal upload timeout - #53

Merged
kdroidFilter merged 1 commit into
mainfrom
fix/central-portal-upload-timeout
Aug 11, 2026
Merged

Raise the Central Portal upload timeout#53
kdroidFilter merged 1 commit into
mainfrom
fix/central-portal-upload-timeout

Conversation

@kdroidFilter

Copy link
Copy Markdown
Collaborator

Follow-up to #52. The v1.0.1 publish job failed:

FAILURE: Build failed with an exception.
* What went wrong:
Failed to stop service 'maven-central-build-service'.
> timeout

exactly 60 s after the bundle upload started. SONATYPE_CONNECT_TIMEOUT_SECONDS defaults to 60 and the plugin uses it as the OkHttp read timeout on api/v1/publisher/upload, so a slow Portal response fails the build even though the upload succeeded.

That is what happened here — the deployment was live on the Portal, so re-running the job produced:

> Deployment a028abb8-... failed validation:
  * Component with coordinate 'dev.nucleusframework:composewebview-jvm:1.0.1'
    is currently being published in another deployment (8b0658e6-...)

Giving the Portal 10 minutes to answer avoids both the spurious failure and the duplicate-deployment cleanup it causes. No behaviour change on a fast response.

The v1.0.1 publish failed with `Failed to stop service
'maven-central-build-service' > timeout` exactly 60s after the bundle upload
started — SONATYPE_CONNECT_TIMEOUT_SECONDS defaults to 60 and is used as the
OkHttp read timeout on the upload request.

The upload had actually reached the Portal, so the deployment stayed alive and
the retry was rejected with "Component with coordinate
dev.nucleusframework:composewebview-jvm:1.0.1 is currently being published in
another deployment". Give the Portal 10 minutes to answer instead.
@kdroidFilter
kdroidFilter merged commit a675979 into main Aug 11, 2026
11 of 12 checks passed
@kdroidFilter
kdroidFilter deleted the fix/central-portal-upload-timeout branch August 11, 2026 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant