java.net.SocketTimeoutException: Read timed out

Atlassian JIRA | Maryna Ishchenko | 3 years ago
  1. 0

    Bamboo Elastic Agent run in status "Pending" for 20 min, and after terminate without any jobs running. Via ssh it's available. Error in cinsole: 014-05-30 13:38:58,517 INFO [main] [S3Sync] Syncing from: bamboo-agent-release-eu-w1/5.5-OD-04-0004/5330004dede7b4c9abdb34e94cf1a4ecb7b8b75d/ to /opt/bamboo-elastic-agent 2014-05-30 13:38:59,618 INFO [main] [S3Utils] Syncing s3://bamboo-agent-release-eu-w1/5.5-OD-04-0004/5330004dede7b4c9abdb34e94cf1a4ecb7b8b75d/ to /opt/bamboo-elastic-agent 2014-05-30 13:38:59,630 INFO [main] [S3Utils] Fetching the list of remote objects... 2014-05-30 13:39:03,421 INFO [main] [S3Utils] Found 554 files in s3://bamboo-agent-release-eu-w1/5.5-OD-04-0004/5330004dede7b4c9abdb34e94cf1a4ecb7b8b75d/ 2014-05-30 13:39:03,555 INFO [main] [S3Utils] Found 379 files in /opt/bamboo-elastic-agent 2014-05-30 13:39:03,555 INFO [main] [S3Utils] Generating the list of files to fetch from S3... 2014-05-30 13:39:03,593 INFO [main] [S3Utils] Generating the list of files to remove... 2014-05-30 13:39:03,595 INFO [main] [S3Utils] Removing 65 files from /opt/bamboo-elastic-agent 2014-05-30 13:39:03,622 INFO [main] [S3Utils] Fetching 278 files to /opt/bamboo-elastic-agent Exception in thread "main" java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:422) at com.sun.net.ssl.internal.ssl.InputRecord.readV3Record(InputRecord.java:534) at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:489) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:820) at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75) at org.apache.http.impl.io.AbstractSessionInputBuffer.read(AbstractSessionInputBuffer.java:187) at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:176) at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:138) at java.security.DigestInputStream.read(DigestInputStream.java:144) at java.io.FilterInputStream.read(FilterInputStream.java:116) at com.amazonaws.services.s3.internal.ChecksumValidatingInputStream.read(ChecksumValidatingInputStream.java:97) at java.io.FilterInputStream.read(FilterInputStream.java:116) at com.atlassian.aws.s3.S3Utils.fetch(S3Utils.java:304) at com.atlassian.aws.s3.S3Utils.doSync(S3Utils.java:284) at com.atlassian.aws.s3.S3Utils.sync(S3Utils.java:165) at com.atlassian.bamboo.agent.elastic.S3Sync.sync(S3Sync.java:72) at com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.main(ElasticAgentInstaller.java:66) if you manualy run as root elastic agent works. What's the reason of such behavior?

    Atlassian JIRA | 3 years ago | Maryna Ishchenko
    java.net.SocketTimeoutException: Read timed out
  2. 0

    Bamboo Elastic Agent run in status "Pending" for 20 min, and after terminate without any jobs running. Via ssh it's available. Error in cinsole: 014-05-30 13:38:58,517 INFO [main] [S3Sync] Syncing from: bamboo-agent-release-eu-w1/5.5-OD-04-0004/5330004dede7b4c9abdb34e94cf1a4ecb7b8b75d/ to /opt/bamboo-elastic-agent 2014-05-30 13:38:59,618 INFO [main] [S3Utils] Syncing s3://bamboo-agent-release-eu-w1/5.5-OD-04-0004/5330004dede7b4c9abdb34e94cf1a4ecb7b8b75d/ to /opt/bamboo-elastic-agent 2014-05-30 13:38:59,630 INFO [main] [S3Utils] Fetching the list of remote objects... 2014-05-30 13:39:03,421 INFO [main] [S3Utils] Found 554 files in s3://bamboo-agent-release-eu-w1/5.5-OD-04-0004/5330004dede7b4c9abdb34e94cf1a4ecb7b8b75d/ 2014-05-30 13:39:03,555 INFO [main] [S3Utils] Found 379 files in /opt/bamboo-elastic-agent 2014-05-30 13:39:03,555 INFO [main] [S3Utils] Generating the list of files to fetch from S3... 2014-05-30 13:39:03,593 INFO [main] [S3Utils] Generating the list of files to remove... 2014-05-30 13:39:03,595 INFO [main] [S3Utils] Removing 65 files from /opt/bamboo-elastic-agent 2014-05-30 13:39:03,622 INFO [main] [S3Utils] Fetching 278 files to /opt/bamboo-elastic-agent Exception in thread "main" java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:422) at com.sun.net.ssl.internal.ssl.InputRecord.readV3Record(InputRecord.java:534) at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:489) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:820) at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75) at org.apache.http.impl.io.AbstractSessionInputBuffer.read(AbstractSessionInputBuffer.java:187) at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:176) at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:138) at java.security.DigestInputStream.read(DigestInputStream.java:144) at java.io.FilterInputStream.read(FilterInputStream.java:116) at com.amazonaws.services.s3.internal.ChecksumValidatingInputStream.read(ChecksumValidatingInputStream.java:97) at java.io.FilterInputStream.read(FilterInputStream.java:116) at com.atlassian.aws.s3.S3Utils.fetch(S3Utils.java:304) at com.atlassian.aws.s3.S3Utils.doSync(S3Utils.java:284) at com.atlassian.aws.s3.S3Utils.sync(S3Utils.java:165) at com.atlassian.bamboo.agent.elastic.S3Sync.sync(S3Sync.java:72) at com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.main(ElasticAgentInstaller.java:66) if you manualy run as root elastic agent works. What's the reason of such behavior?

    Atlassian JIRA | 3 years ago | Maryna Ishchenko
    java.net.SocketTimeoutException: Read timed out
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. mauritius 93 times, last 20 hours ago
  2. Aria Pahlavan 4 times, last 2 weeks ago
  3. poroszd 4 times, last 4 weeks ago
  4. aldrinleal 1 times, last 1 month ago
  5. Nikolay Rybak 1 times, last 2 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(SocketInputStream.java:129)
    2 frames
  3. Java JSSE
    AppInputStream.read
    1. com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:422)
    2. com.sun.net.ssl.internal.ssl.InputRecord.readV3Record(InputRecord.java:534)
    3. com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:489)
    4. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
    5. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:820)
    6. com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
    6 frames
  4. Apache Http
    ContentLengthInputStream.read
    1. org.apache.http.impl.io.AbstractSessionInputBuffer.read(AbstractSessionInputBuffer.java:187)
    2. org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:176)
    2 frames
  5. Apache HttpClient
    EofSensorInputStream.read
    1. org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:138)
    1 frame
  6. Java RT
    FilterInputStream.read
    1. java.security.DigestInputStream.read(DigestInputStream.java:144)
    2. java.io.FilterInputStream.read(FilterInputStream.java:116)
    2 frames
  7. AWS Java SDK for Amazon S3
    ChecksumValidatingInputStream.read
    1. com.amazonaws.services.s3.internal.ChecksumValidatingInputStream.read(ChecksumValidatingInputStream.java:97)
    1 frame
  8. Java RT
    FilterInputStream.read
    1. java.io.FilterInputStream.read(FilterInputStream.java:116)
    1 frame
  9. com.atlassian.aws
    S3Utils.sync
    1. com.atlassian.aws.s3.S3Utils.fetch(S3Utils.java:304)
    2. com.atlassian.aws.s3.S3Utils.doSync(S3Utils.java:284)
    3. com.atlassian.aws.s3.S3Utils.sync(S3Utils.java:165)
    3 frames
  10. com.atlassian.bamboo
    ElasticAgentInstaller.main
    1. com.atlassian.bamboo.agent.elastic.S3Sync.sync(S3Sync.java:72)
    2. com.atlassian.bamboo.agent.elastic.installer.ElasticAgentInstaller.main(ElasticAgentInstaller.java:66)
    2 frames