java.net.SocketException: Connection timed out

JIRA | Rafael Valenzuela | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Jul 31, 2013 10:34:37 AM com.mongodb.DBPortPool gotError WARNING: emptying DBPortPool to ec2-54-216-117-46.eu-west-1.compute.amazonaws.com/10.208.48.102:27017 b/c of error java.net.SocketException: Connection 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.read1(BufferedInputStream.java:258) at java.io.BufferedInputStream.read(BufferedInputStream.java:317) at org.bson.io.Bits.readFully(Bits.java:46) at org.bson.io.Bits.readFully(Bits.java:33) at org.bson.io.Bits.readFully(Bits.java:28) at com.mongodb.Response.<init>(Response.java:40) at com.mongodb.DBPort.go(DBPort.java:124) at com.mongodb.DBPort.call(DBPort.java:74) at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:283) at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:256) at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:225) at com.mongodb.DBApiLayer$Result._advance(DBApiLayer.java:431) at com.mongodb.DBApiLayer$Result.hasNext(DBApiLayer.java:400) at com.mongodb.DBCursor._hasNext(DBCursor.java:464) at com.mongodb.DBCursor.hasNext(DBCursor.java:484) at org.pentaho.di.trans.steps.mongodbinput.MongoDbInput.processRow(MongoDbInput.java:77) at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50) at java.lang.Thread.run(Thread.java:662) ERROR 31-07 10:34:37,118 - Data - Unexpected error ERROR 31-07 10:34:37,120 - Data - com.mongodb.MongoException$Network: can't call something : ec2-54-216-117-46.eu-west-1.compute.amazonaws.com/10.208.48.102:27017/ETL at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:292) at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:256) at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:225) at com.mongodb.DBApiLayer$Result._advance(DBApiLayer.java:431) at com.mongodb.DBApiLayer$Result.hasNext(DBApiLayer.java:400) at com.mongodb.DBCursor._hasNext(DBCursor.java:464) at com.mongodb.DBCursor.hasNext(DBCursor.java:484) at org.pentaho.di.trans.steps.mongodbinput.MongoDbInput.processRow(MongoDbInput.java:77) at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50) at java.lang.Thread.run(Thread.java:662) Caused by: java.net.SocketException: Connection 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.read1(BufferedInputStream.java:258) at java.io.BufferedInputStream.read(BufferedInputStream.java:317) at org.bson.io.Bits.readFully(Bits.java:46) at org.bson.io.Bits.readFully(Bits.java:33) at org.bson.io.Bits.readFully(Bits.java:28) at com.mongodb.Response.<init>(Response.java:40) at com.mongodb.DBPort.go(DBPort.java:124) at com.mongodb.DBPort.call(DBPort.java:74) at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:283) ... 9 more

    JIRA | 4 years ago | Rafael Valenzuela
    java.net.SocketException: Connection timed out
  2. 0

    Jul 31, 2013 10:34:37 AM com.mongodb.DBPortPool gotError WARNING: emptying DBPortPool to ec2-54-216-117-46.eu-west-1.compute.amazonaws.com/10.208.48.102:27017 b/c of error java.net.SocketException: Connection 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.read1(BufferedInputStream.java:258) at java.io.BufferedInputStream.read(BufferedInputStream.java:317) at org.bson.io.Bits.readFully(Bits.java:46) at org.bson.io.Bits.readFully(Bits.java:33) at org.bson.io.Bits.readFully(Bits.java:28) at com.mongodb.Response.<init>(Response.java:40) at com.mongodb.DBPort.go(DBPort.java:124) at com.mongodb.DBPort.call(DBPort.java:74) at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:283) at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:256) at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:225) at com.mongodb.DBApiLayer$Result._advance(DBApiLayer.java:431) at com.mongodb.DBApiLayer$Result.hasNext(DBApiLayer.java:400) at com.mongodb.DBCursor._hasNext(DBCursor.java:464) at com.mongodb.DBCursor.hasNext(DBCursor.java:484) at org.pentaho.di.trans.steps.mongodbinput.MongoDbInput.processRow(MongoDbInput.java:77) at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50) at java.lang.Thread.run(Thread.java:662) ERROR 31-07 10:34:37,118 - Data - Unexpected error ERROR 31-07 10:34:37,120 - Data - com.mongodb.MongoException$Network: can't call something : ec2-54-216-117-46.eu-west-1.compute.amazonaws.com/10.208.48.102:27017/ETL at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:292) at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:256) at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:225) at com.mongodb.DBApiLayer$Result._advance(DBApiLayer.java:431) at com.mongodb.DBApiLayer$Result.hasNext(DBApiLayer.java:400) at com.mongodb.DBCursor._hasNext(DBCursor.java:464) at com.mongodb.DBCursor.hasNext(DBCursor.java:484) at org.pentaho.di.trans.steps.mongodbinput.MongoDbInput.processRow(MongoDbInput.java:77) at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50) at java.lang.Thread.run(Thread.java:662) Caused by: java.net.SocketException: Connection 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.read1(BufferedInputStream.java:258) at java.io.BufferedInputStream.read(BufferedInputStream.java:317) at org.bson.io.Bits.readFully(Bits.java:46) at org.bson.io.Bits.readFully(Bits.java:33) at org.bson.io.Bits.readFully(Bits.java:28) at com.mongodb.Response.<init>(Response.java:40) at com.mongodb.DBPort.go(DBPort.java:124) at com.mongodb.DBPort.call(DBPort.java:74) at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:283) ... 9 more

    JIRA | 4 years ago | Rafael Valenzuela
    java.net.SocketException: Connection timed out
  3. 0

    timeout errors from Tomcat talking to MongoDB in Azure

    Stack Overflow | 3 years ago
    java.net.SocketException: Connection timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JAVA-481] Driver not retrying on Connection timed out SocketException - MongoDB

    mongodb.org | 2 years ago
    java.net.SocketException: Connection timed out
  6. 0

    [JAVA-481] Driver not retrying on Connection timed out SocketException - MongoDB

    mongodb.org | 2 years ago
    java.net.SocketException: Connection timed out
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.SocketException

    Connection timed out

    at java.net.SocketInputStream.socketRead0()
  2. Java RT
    BufferedInputStream.read
    1. java.net.SocketInputStream.socketRead0(Native Method)
    2. java.net.SocketInputStream.read(SocketInputStream.java:129)
    3. java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    4. java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
    5. java.io.BufferedInputStream.read(BufferedInputStream.java:317)
    5 frames
  3. MongoDB Java Driver
    DBCursor.hasNext
    1. org.bson.io.Bits.readFully(Bits.java:46)
    2. org.bson.io.Bits.readFully(Bits.java:33)
    3. org.bson.io.Bits.readFully(Bits.java:28)
    4. com.mongodb.Response.<init>(Response.java:40)
    5. com.mongodb.DBPort.go(DBPort.java:124)
    6. com.mongodb.DBPort.call(DBPort.java:74)
    7. com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:283)
    8. com.mongodb.DBTCPConnector.call(DBTCPConnector.java:256)
    9. com.mongodb.DBTCPConnector.call(DBTCPConnector.java:225)
    10. com.mongodb.DBApiLayer$Result._advance(DBApiLayer.java:431)
    11. com.mongodb.DBApiLayer$Result.hasNext(DBApiLayer.java:400)
    12. com.mongodb.DBCursor._hasNext(DBCursor.java:464)
    13. com.mongodb.DBCursor.hasNext(DBCursor.java:484)
    13 frames
  4. org.pentaho.di
    RunThread.run
    1. org.pentaho.di.trans.steps.mongodbinput.MongoDbInput.processRow(MongoDbInput.java:77)
    2. org.pentaho.di.trans.step.RunThread.run(RunThread.java:50)
    2 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame