Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

temporarily set read timeout to an extremely high value (12 hours)... #5390

Closed
wants to merge 1 commit into from

Conversation

mpollmeier
Copy link
Contributor

... mostly to see if this has any effect at all.
We keep running into read timeouts at the final step (validating the
release), but the timeouts don't quite make sense...

see e.g. https://github.com/joernio/joern/actions/runs/13967737826/job/39101942676

2025-03-20 11:38:44.040Z  info [SonatypeCentralClient] Uploading bundle /home/runner/work/joern/joern/target/sonatype-staging/4.0.299-bundle/bundle.zip to Sonatype Central  - (SonatypeCentralClient.scala:72)
  +4 seconds:
2025-03-20 11:38:47.814Z  info [SonatypeCentralService] Checking if deployment succeeded for deployment id: 583c03d8-b0cb-431f-b3d5-a7990a1e435d...  - (SonatypeCentralService.scala:27)
  +16mins
           11:54:06.356 [main] ERROR sttp.client4.logging.slf4j.Slf4jLoggingBackend - Exception when sending request: POST https://central.sonatype.com/api/v1/publisher/status?id=583c03d8-b0cb-431f-b3d5-a7990a1e435d, took: 5.085s
sttp.client4.SttpClientException$TimeoutException: Exception when sending request: POST https://central.sonatype.com/api/v1/publisher/status?id=583c03d8-b0cb-431f-b3d5-a7990a1e435d
	at sttp.client4.SttpClientExceptionExtensions.defaultExceptionToSttpClientException(SttpClientExceptionExtensions.scala:21) ~[?:?]

... mostly to see if this has any effect at all.
We keep running into read timeouts at the final step (validating the
release), but the timeouts don't quite make sense...

see e.g. https://github.com/joernio/joern/actions/runs/13967737826/job/39101942676

```
2025-03-20 11:38:44.040Z  info [SonatypeCentralClient] Uploading bundle /home/runner/work/joern/joern/target/sonatype-staging/4.0.299-bundle/bundle.zip to Sonatype Central  - (SonatypeCentralClient.scala:72)
  +4 seconds:
2025-03-20 11:38:47.814Z  info [SonatypeCentralService] Checking if deployment succeeded for deployment id: 583c03d8-b0cb-431f-b3d5-a7990a1e435d...  - (SonatypeCentralService.scala:27)
  +16mins
           11:54:06.356 [main] ERROR sttp.client4.logging.slf4j.Slf4jLoggingBackend - Exception when sending request: POST https://central.sonatype.com/api/v1/publisher/status?id=583c03d8-b0cb-431f-b3d5-a7990a1e435d, took: 5.085s
sttp.client4.SttpClientException$TimeoutException: Exception when sending request: POST https://central.sonatype.com/api/v1/publisher/status?id=583c03d8-b0cb-431f-b3d5-a7990a1e435d
	at sttp.client4.SttpClientExceptionExtensions.defaultExceptionToSttpClientException(SttpClientExceptionExtensions.scala:21) ~[?:?]
```
Copy link
Contributor

@maltek maltek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mpollmeier
Copy link
Contributor Author

ha, good find, thank you, that helps

@mpollmeier mpollmeier closed this Mar 20, 2025
@mpollmeier
Copy link
Contributor Author

upstream patch: xerial/sbt-sonatype#591

@max-leuthaeuser max-leuthaeuser deleted the michael/sonatype-read-timeout-debug/1 branch March 20, 2025 16:12
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.

2 participants