Operation timed out (Read failed)
See original GitHub issueHi, thanks for the lib 😃
More like a question, I’m getting Operation timed out (Read failed)
quite often and I’m not sure either if it’s the plugin or MC itself.
Plugin: 0.14.2 (tried with 0.15.0 too) Gradle: 6.8.3 OS: macOS 11.2.3
eg:
Failed to publish publication ‘maven’ to repository ‘maven’ Could not write to resource ‘https://oss.sonatype.org/service/local/staging/deploy/maven2/io/sentry/sentry-spring/5.0.0-beta.1/sentry-spring-5.0.0-beta.1-javadoc.jar.asc’. Operation timed out (Read failed)
it’s a repo with 12 modules so not sure if this would be a problem (like racy conditions or something like that).
I do use --no-daemon --no-parallel
I also have systemProp.org.gradle.internal.http.socketTimeout=120000
in my gradle.properties
, increasing time does not help either.
tried to use some other Gradle properties as https://quotidian-ennui.github.io/blog/2020/06/05/gradle-timeout-fun/ says.
maybe related to https://github.com/vanniktech/gradle-maven-publish-plugin/issues/170
any ideas? thanks.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8
Top GitHub Comments
From my experience it’s most likely that it is on Sonatype’s side. If you’re lucky everything goes through but you run into flakiness pretty often. Maybe you can ask them if it’s possible to move your account to the newer s01.oss.sonatype.org, I hear that’s more stable
@gabrielittner good tip, thanks