java.net.SocketTimeoutException: Read timed out

Atlassian JIRA | Bejoy Jaison [Atlassian] | 2 years ago
  1. 0

    *Symptom* Autoupdate of plugins fail *Diagnosis* The following stack trace is observed in logs: {noformat} 2014-09-24 11:16:09,401 UpmPacClient:thread-10 WARN jiraadmin 738x445x3 ab65c3 192.168.0.4 /rest/plugins/1.0/installed-marketplace [impl.client.cache.CachingHttpClient] Unable to store entries in cache java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at sun.security.ssl.InputRecord.readFully(Unknown Source) at sun.security.ssl.InputRecord.readV3Record(Unknown Source) at sun.security.ssl.InputRecord.read(Unknown Source) at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source) at sun.security.ssl.AppInputStream.read(Unknown Source) at org.apache.http.impl.io.AbstractSessionInputBuffer.read(AbstractSessionInputBuffer.java:198) at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:178) at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:137) at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:150) at org.apache.http.impl.client.cache.HeapResourceFactory.generate(HeapResourceFactory.java:54) at org.apache.http.impl.client.cache.SizeLimitedResponseReader.doConsume(SizeLimitedResponseReader.java:106) at org.apache.http.impl.client.cache.SizeLimitedResponseReader.readResponse(SizeLimitedResponseReader.java:77) at org.apache.http.impl.client.cache.BasicHttpCache.cacheAndReturnResponse(BasicHttpCache.java:294) at org.apache.http.impl.client.cache.BasicHttpCache.cacheAndReturnResponse(BasicHttpCache.java:279) at org.apache.http.impl.client.cache.CachingHttpClient.handleBackendResponse(CachingHttpClient.java:941) at org.apache.http.impl.client.cache.CachingHttpClient.callBackend(CachingHttpClient.java:748) at org.apache.http.impl.client.cache.CachingHttpClient.handleCacheMiss(CachingHttpClient.java:520) at org.apache.http.impl.client.cache.CachingHttpClient.execute(CachingHttpClient.java:451) at org.apache.http.impl.client.cache.CachingHttpClient.execute(CachingHttpClient.java:360) at com.atlassian.marketplace.client.impl.CommonsHttpHelper.executeMethod(CommonsHttpHelper.java:179) at com.atlassian.marketplace.client.impl.CommonsHttpHelper.get(CommonsHttpHelper.java:93) at com.atlassian.marketplace.client.impl.DefaultMarketplaceClient.getOptionalEntity(DefaultMarketplaceClient.java:156) at com.atlassian.marketplace.client.impl.PluginsImpl.get(PluginsImpl.java:155) at com.atlassian.upm.pac.PacClientImpl.getAvailableUpdate(PacClientImpl.java:530) at com.atlassian.upm.pac.PacClientImpl.access$1000(PacClientImpl.java:110) at com.atlassian.upm.pac.PacClientImpl$16$1.call(PacClientImpl.java:1074) at com.atlassian.upm.pac.PacClientImpl$16$1.call(PacClientImpl.java:1070) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at com.atlassian.util.concurrent.LimitedExecutor$Runner.run(LimitedExecutor.java:96) at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {noformat} This is due to the external bug [HTTPCLIENT-1280|https://issues.apache.org/jira/browse/HTTPCLIENT-1280] on {{org.apache.httpcomponents.httpclient-4.2.5}}. The bug is fixed in version 4.3 so JIRA should bundle the fix.

    Atlassian JIRA | 2 years ago | Bejoy Jaison [Atlassian]
    java.net.SocketTimeoutException: Read timed out
  2. 0

    *Symptom* Autoupdate of plugins fail *Diagnosis* The following stack trace is observed in logs: {noformat} 2014-09-24 11:16:09,401 UpmPacClient:thread-10 WARN jiraadmin 738x445x3 ab65c3 192.168.0.4 /rest/plugins/1.0/installed-marketplace [impl.client.cache.CachingHttpClient] Unable to store entries in cache java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at sun.security.ssl.InputRecord.readFully(Unknown Source) at sun.security.ssl.InputRecord.readV3Record(Unknown Source) at sun.security.ssl.InputRecord.read(Unknown Source) at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source) at sun.security.ssl.AppInputStream.read(Unknown Source) at org.apache.http.impl.io.AbstractSessionInputBuffer.read(AbstractSessionInputBuffer.java:198) at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:178) at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:137) at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:150) at org.apache.http.impl.client.cache.HeapResourceFactory.generate(HeapResourceFactory.java:54) at org.apache.http.impl.client.cache.SizeLimitedResponseReader.doConsume(SizeLimitedResponseReader.java:106) at org.apache.http.impl.client.cache.SizeLimitedResponseReader.readResponse(SizeLimitedResponseReader.java:77) at org.apache.http.impl.client.cache.BasicHttpCache.cacheAndReturnResponse(BasicHttpCache.java:294) at org.apache.http.impl.client.cache.BasicHttpCache.cacheAndReturnResponse(BasicHttpCache.java:279) at org.apache.http.impl.client.cache.CachingHttpClient.handleBackendResponse(CachingHttpClient.java:941) at org.apache.http.impl.client.cache.CachingHttpClient.callBackend(CachingHttpClient.java:748) at org.apache.http.impl.client.cache.CachingHttpClient.handleCacheMiss(CachingHttpClient.java:520) at org.apache.http.impl.client.cache.CachingHttpClient.execute(CachingHttpClient.java:451) at org.apache.http.impl.client.cache.CachingHttpClient.execute(CachingHttpClient.java:360) at com.atlassian.marketplace.client.impl.CommonsHttpHelper.executeMethod(CommonsHttpHelper.java:179) at com.atlassian.marketplace.client.impl.CommonsHttpHelper.get(CommonsHttpHelper.java:93) at com.atlassian.marketplace.client.impl.DefaultMarketplaceClient.getOptionalEntity(DefaultMarketplaceClient.java:156) at com.atlassian.marketplace.client.impl.PluginsImpl.get(PluginsImpl.java:155) at com.atlassian.upm.pac.PacClientImpl.getAvailableUpdate(PacClientImpl.java:530) at com.atlassian.upm.pac.PacClientImpl.access$1000(PacClientImpl.java:110) at com.atlassian.upm.pac.PacClientImpl$16$1.call(PacClientImpl.java:1074) at com.atlassian.upm.pac.PacClientImpl$16$1.call(PacClientImpl.java:1070) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at com.atlassian.util.concurrent.LimitedExecutor$Runner.run(LimitedExecutor.java:96) at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {noformat} This is due to the external bug [HTTPCLIENT-1280|https://issues.apache.org/jira/browse/HTTPCLIENT-1280] on {{org.apache.httpcomponents.httpclient-4.2.5}}. The bug is fixed in version 4.3 so JIRA should bundle the fix.

    Atlassian JIRA | 2 years ago | Bejoy Jaison [Atlassian]
    java.net.SocketTimeoutException: Read timed out
  3. 0

    Read time out errors when recovering a snapshot from S3 repository lets elasticsearch hanging

    GitHub | 2 years ago | JoeZ99
    org.elasticsearch.index.gateway.IndexShardGatewayRecoveryException: [4af7ac9316f168daccf8af5f42b6271e_ts20141023163747416632][0] failed recovery
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    repeated "Read timed out" errors when recovering a large sized shards from S3 repository

    GitHub | 2 years ago | asileon
    org.elasticsearch.index.gateway.IndexShardGatewayRecoveryException: [INDEX][2] failed recovery
  6. 0

    Repeated "Read timed out" errors when recovering a large sized shards from S3 repository

    GitHub | 2 years ago | CostyaRegev
    org.elasticsearch.index.gateway.IndexShardGatewayRecoveryException: [2014_11][1] failed recovery

  1. Nikolay Rybak 1 times, last 1 month ago
  2. tvrmsmith 1 times, last 4 months ago
  3. poroszd 3 times, last 5 months ago
  4. aldrinleal 1 times, last 5 months ago
  5. poroszd 2 times, last 8 months ago
11 more registered users
70 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketTimeoutException

    Read timed out

    at java.net.SocketInputStream.socketRead0()
  2. Java RT
    SocketInputStream.read
    1. java.net.SocketInputStream.socketRead0(Native Method)
    2. java.net.SocketInputStream.read(Unknown Source)
    3. java.net.SocketInputStream.read(Unknown Source)
    3 frames
  3. Java JSSE
    AppInputStream.read
    1. sun.security.ssl.InputRecord.readFully(Unknown Source)
    2. sun.security.ssl.InputRecord.readV3Record(Unknown Source)
    3. sun.security.ssl.InputRecord.read(Unknown Source)
    4. sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    5. sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
    6. sun.security.ssl.AppInputStream.read(Unknown Source)
    6 frames
  4. Apache Http
    ContentLengthInputStream.read
    1. org.apache.http.impl.io.AbstractSessionInputBuffer.read(AbstractSessionInputBuffer.java:198)
    2. org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:178)
    2 frames
  5. Apache HttpClient
    EofSensorInputStream.read
    1. org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:137)
    2. org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:150)
    2 frames
  6. Apache HttpClient Cache
    CachingHttpClient.execute
    1. org.apache.http.impl.client.cache.HeapResourceFactory.generate(HeapResourceFactory.java:54)
    2. org.apache.http.impl.client.cache.SizeLimitedResponseReader.doConsume(SizeLimitedResponseReader.java:106)
    3. org.apache.http.impl.client.cache.SizeLimitedResponseReader.readResponse(SizeLimitedResponseReader.java:77)
    4. org.apache.http.impl.client.cache.BasicHttpCache.cacheAndReturnResponse(BasicHttpCache.java:294)
    5. org.apache.http.impl.client.cache.BasicHttpCache.cacheAndReturnResponse(BasicHttpCache.java:279)
    6. org.apache.http.impl.client.cache.CachingHttpClient.handleBackendResponse(CachingHttpClient.java:941)
    7. org.apache.http.impl.client.cache.CachingHttpClient.callBackend(CachingHttpClient.java:748)
    8. org.apache.http.impl.client.cache.CachingHttpClient.handleCacheMiss(CachingHttpClient.java:520)
    9. org.apache.http.impl.client.cache.CachingHttpClient.execute(CachingHttpClient.java:451)
    10. org.apache.http.impl.client.cache.CachingHttpClient.execute(CachingHttpClient.java:360)
    10 frames
  7. com.atlassian.marketplace
    PluginsImpl.get
    1. com.atlassian.marketplace.client.impl.CommonsHttpHelper.executeMethod(CommonsHttpHelper.java:179)
    2. com.atlassian.marketplace.client.impl.CommonsHttpHelper.get(CommonsHttpHelper.java:93)
    3. com.atlassian.marketplace.client.impl.DefaultMarketplaceClient.getOptionalEntity(DefaultMarketplaceClient.java:156)
    4. com.atlassian.marketplace.client.impl.PluginsImpl.get(PluginsImpl.java:155)
    4 frames
  8. com.atlassian.upm
    PacClientImpl$16$1.call
    1. com.atlassian.upm.pac.PacClientImpl.getAvailableUpdate(PacClientImpl.java:530)
    2. com.atlassian.upm.pac.PacClientImpl.access$1000(PacClientImpl.java:110)
    3. com.atlassian.upm.pac.PacClientImpl$16$1.call(PacClientImpl.java:1074)
    4. com.atlassian.upm.pac.PacClientImpl$16$1.call(PacClientImpl.java:1070)
    4 frames
  9. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    2. java.util.concurrent.FutureTask.run(Unknown Source)
    3. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    4. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    5. java.util.concurrent.FutureTask.run(Unknown Source)
    5 frames
  10. com.atlassian.util
    LimitedExecutor$Runner.run
    1. com.atlassian.util.concurrent.LimitedExecutor$Runner.run(LimitedExecutor.java:96)
    1 frame
  11. com.atlassian.sal
    ThreadLocalDelegateRunnable.run
    1. com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38)
    1 frame
  12. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames