java.net.SocketTimeoutException: Read timed out

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via ibm.com by Unknown author

Adjust the timeout barrier so that its more flexible on network delays. It is very important to consider doing that especially when your server application will run in a remote machine. Other than that, avoid whatever causes delays in network.

,
via javacodegeeks.com by Unknown author

This exception emerges when a blocking operation of the two, an accept or a read, is blocked for a certain amount of time, called the timeout.

Solutions on the web

via JFrog JIRA by Simon Spielmann, 1 year ago
Read timed out
via JFrog JIRA by Simon Spielmann, 1 year ago
Read timed out
via Google Groups by justi...@gmail.com, 2 years ago
via YouTrack by Unknown author, 1 year ago
via Sonatype JIRA by Benjamin Hanzelmann, 1 year ago
Read timed out
via Oracle Community by 843830, 1 year ago
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.artifactory.cli.rest.RestClient.executeMethod(RestClient.java:322)
at org.artifactory.cli.rest.RestClient.post(RestClient.java:305)
at org.artifactory.cli.rest.RestClient.post(RestClient.java:285)
at org.artifactory.cli.rest.RestClient.post(RestClient.java:247)
at org.artifactory.cli.common.UrlBasedCommand.post(UrlBasedCommand.java:119)
at org.artifactory.cli.command.ExportCommand.execute(ExportCommand.java:98)
at org.artifactory.cli.main.ArtAdmin.main(ArtAdmin.java:91)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
7 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.