question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Operation timed out (Read failed)

See original GitHub issue

Hi, 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:closed
  • Created 2 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
gabrielittnercommented, May 4, 2021

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

0reactions
marandanetocommented, May 5, 2021

@gabrielittner good tip, thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting operation timed out exception on socket read
1 Answer 1 ... When an application calls setSoTimeout(0) then OS may actually wait for data forever. But there are several kinds of...
Read more >
Operation timed out (Read failed) during push to us.gcr.io #2014
I increased the timeout to 60 sec but it failed again. I then used dockerBuild that built to docker daemon and tried pushing...
Read more >
How to resolve java.net.SocketTimeoutException
Your Java socket is timing out (throws java.net.SocketTimeoutException: Connection timed out) means that it takes too long to get respond from other device ......
Read more >
CLI operations may fail with the The read operation timed out ...
If you receive the “The read operation timed out” error during a CLI operation, you can use the parameter "--timeout <value>" to set...
Read more >
Google Sheets: The read operation timed out.
*This error can also look like: ExternalHTTPSConnectionPool(host='sheets.googleapis.com', port=443): The read operation timed out.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found