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

Solutions on the web

via Coderanch by Krishna Senagapalli, 1 year ago
via GitHub by teager
, 2 years ago
Remote host closed connection during handshake
via GitHub by awilkins
, 2 years ago
Remote host closed connection during handshake
via GitHub by sfmarques
, 1 month ago
Remote host closed connection during handshake
via davmail by yerase
, 2 years ago
Remote host closed connection during handshake
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:953)[na:1.7.0_80] at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)[na:1.7.0_80] at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:709)[na:1.7.0_80] at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)[na:1.7.0_80] at java.io.OutputStream.write(OutputStream.java:75)[na:1.7.0_80] at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(ApnsConnectionImpl.java:328)[apns-1.0.0.Beta6.jar:na] at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(ApnsConnectionImpl.java:312)[apns-1.0.0.Beta6.jar:na] at com.notnoop.apns.internal.ApnsServiceImpl.push(ApnsServiceImpl.java:46)[apns-1.0.0.Beta6.jar:na] at com.notnoop.apns.internal.AbstractApnsService.push(AbstractApnsService.java:56)[apns-1.0.0.Beta6.jar:na] at com.notnoop.apns.internal.ApnsServiceImpl.push(ApnsServiceImpl.java:36)[apns-1.0.0.Beta6.jar:na] at com.notnoop.apns.internal.AbstractApnsService.push(AbstractApnsService.java:45)[apns-1.0.0.Beta6.jar:na] at com.mdm.apnws.utils.ApnsUtilities.send_notification(ApnsUtilities.java:73)[ApnsUtilities.class:na] at com.mdm.apnsws.controllers.ApnsController.checkinService(ApnsController.java:99)[ApnsController.class:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_80] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_80] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_80] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_80] at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)[spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)[spring-web-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)[spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776)[spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)[spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)[spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)[spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)[spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)[spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:879)[spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)[tomcat-servlet-api-3.0.jar:na] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)[spring-webmvc-4.1.6.RELEASE.jar:4.1.6.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)[tomcat-servlet-api-3.0.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)[tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)[tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)[tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)[tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)[tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)[tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)[tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)[tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)[tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)[tomcat-catalina-7.0.26.jar:7.0.26] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)[tomcat-coyote-7.0.26.jar:7.0.26] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)[tomcat-coyote-7.0.26.jar:7.0.26] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)[tomcat-coyote-7.0.26.jar:7.0.26] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_80] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_80] at java.lang.Thread.run(Thread.java:745)[na:1.7.0_80]Caused by: java.io.EOFException: SSL peer shut down incorrectly at sun.security.ssl.InputRecord.read(InputRecord.java:482)[na:1.7.0_80] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:934)[na:1.7.0_80] ... 45 more