com.mongodb.MongoSocketWriteException

Exception sending message

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web12

  • via JIRA by Frederico Ferro Schuh, 1 year ago
    Exception sending message
  • via JIRA by Frederico Ferro Schuh, 11 months ago
    Exception sending message
  • via JIRA by Stefan Siegl, 9 months ago
    Exception sending message
  • Stack trace

    • com.mongodb.MongoSocketWriteException: Exception sending message at com.mongodb.connection.InternalStreamConnection.translateWriteException(InternalStreamConnection.java:462)[mongo-java-driver-3.0.3.jar:na] at com.mongodb.connection.InternalStreamConnection.sendMessage(InternalStreamConnection.java:205)[mongo-java-driver-3.0.3.jar:na] at com.mongodb.connection.CommandHelper.sendMessage(CommandHelper.java:89)[mongo-java-driver-3.0.3.jar:na] at com.mongodb.connection.CommandHelper.executeCommand(CommandHelper.java:32)[mongo-java-driver-3.0.3.jar:na] at com.mongodb.connection.InternalStreamConnectionInitializer.initializeConnectionDescription(InternalStreamConnectionInitializer.java:83)[mongo-java-driver-3.0.3.jar:na] at com.mongodb.connection.InternalStreamConnectionInitializer.initialize(InternalStreamConnectionInitializer.java:43)[mongo-java-driver-3.0.3.jar:na] at com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:115)[mongo-java-driver-3.0.3.jar:na] at com.mongodb.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:127)[mongo-java-driver-3.0.3.jar:na] at java.lang.Thread.run(Thread.java:745)[na:1.7.0_111] Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:963)[na:1.7.0_111] at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1342)[na:1.7.0_111] at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:719)[na:1.7.0_111] at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)[na:1.7.0_111] at com.mongodb.connection.SocketStream.write(SocketStream.java:75)[mongo-java-driver-3.0.3.jar:na] at com.mongodb.connection.InternalStreamConnection.sendMessage(InternalStreamConnection.java:201)[mongo-java-driver-3.0.3.jar:na] ... 7 more Caused by: java.io.EOFException: SSL peer shut down incorrectly at sun.security.ssl.InputRecord.read(InputRecord.java:482)[na:1.7.0_111] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:944)[na:1.7.0_111] ... 12 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    32 more bugmates