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

  1. ,
    Expert tip

    It's possible you're trying to write to a connection that's already closed. Another cause for this is that you closed the socket with unread data in the socket receive buffer.

  2. ,
    Expert tip

    This might be caused by unmatching versions of SSL. Java starts normally with SSLv2 and your server might not be able to negotiate. You have to force Java to use SSLv3. See this comment: https://goo.gl/hx0YB3

Solutions on the web

via Oracle Community by PrasadKT, 1 year ago
Connect failed; nested exception is: java.net.SocketException: Software caused connection abort: recv failed
via Oracle Community by 843830, 9 months ago
Connect failed; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
via Oracle Community by 843830, 1 year ago
Connect failed; nested exception is: java.io.IOException: Unexpected response: 220 hostname Micros oft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at Wed, 11 Apr 2007 12:57: 02 +0530 javax.mail.MessagingException: Connect failed
via Stack Overflow by B.Xavier
, 1 year ago
Connect failed; nested exception is: java.net.SocketException: Socket is not connected: connect
via Oracle Community by 843830, 9 months ago
Connect failed; nested exception is: java.io.IOException: Connect failed
via Oracle Community by 807598, 1 year ago
Connect failed; nested exception is: java.net.SocketException: Connection reset
java.net.SocketException: Software caused connection abort: recv failed	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:293)	at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1112)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1139)	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)	at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:503)	at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:234)	at com.sun.mail.pop3.Protocol.(Protocol.java:98)	at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:227)	at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:172)	at javax.mail.Service.connect(Service.java:291)	at com.prasad.mail.utils.EmailReaderUtils.createEmailStore(EmailReaderUtils.java:88)	at com.prasad.mail.utils.EmailReaderUtilsTest.testCreateEmailStore(EmailReaderUtilsTest.java:36)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)	at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)	at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)	at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)	at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)	at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)	at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)	at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)	at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)	at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)	at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)	at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)	at com.intellij.rt.junit4.Junit4TestMethodAdapter.run(Junit4TestMethodAdapter.java:49)	at junit.textui.TestRunner.doRun(TestRunner.java:116)	at com.intellij.rt.execution.junit.IdeaTestRunner.doRun(IdeaTestRunner.java:65)	at junit.textui.TestRunner.doRun(TestRunner.java:109)	at com.intellij.rt.execution.junit.IdeaTestRunner.startRunnerWithArgs(IdeaTestRunner.java:24)	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:118)	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)