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

    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

  2. ,
    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.

Solutions on the web

via Oracle Community by 391f1189-1343-433c-8597-d33f53da85ab, 2 years ago
via nabble.com by Unknown author, 1 year ago
via GitHub by BjoernWeiler
, 9 months ago
java.net.SocketException: Connection reset	at java.net.SocketInputStream.read(SocketInputStream.java:209)	at java.net.SocketInputStream.read(SocketInputStream.java:141)	at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)	at sun.security.ssl.InputRecord.read(InputRecord.java:503)	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)	at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:241)	at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.java:198)	at okhttp3.internal.connection.RealConnection.buildConnection(RealConnection.java:174)	at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:114)	at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:193)	at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:129)	at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:98)	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:109)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:124)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:170)	at okhttp3.RealCall.execute(RealCall.java:60)	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:234)	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:229)	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.getRootPaths(BaseOperation.java:149)	at io.fabric8.kubernetes.client.BaseClient.rootPaths(BaseClient.java:150)	at io.fabric8.openshift.client.OpenshiftAdapterSupport.isOpenShift(OpenshiftAdapterSupport.java:51)	at io.fabric8.openshift.client.OpenshiftAdapterSupport.isAdaptable(OpenshiftAdapterSupport.java:35)	at io.fabric8.openshift.client.OpenShiftExtensionAdapter.adapt(OpenShiftExtensionAdapter.java:45)	at io.fabric8.openshift.client.OpenShiftExtensionAdapter.adapt(OpenShiftExtensionAdapter.java:33)	at io.fabric8.kubernetes.client.BaseClient.adapt(BaseClient.java:142)	at sun.reflect.GeneratedMethodAccessor865.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)	at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)	at io.fabric8.kubernetes.client.KubernetesClient$418356913$Proxy$_$$_WeldClientProxy.adapt(Unknown Source)	at io.fabric8.kubernetes.api.Controller.getOpenShiftClientOrNull(Controller.java:403)	at io.fabric8.kubernetes.api.Controller.getOpenShiftClientOrJenkinshift(Controller.java:411)	at io.fabric8.kubernetes.api.Controller.applyBuildConfig(Controller.java:785)	at io.fabric8.forge.rest.main.GitCommandCompletePostProcessor.createBuildConfig(GitCommandCompletePostProcessor.java:206)	at io.fabric8.forge.rest.main.GitCommandCompletePostProcessor.firePostCompleteActions(GitCommandCompletePostProcessor.java:175)	at io.fabric8.forge.rest.CommandsResource.doExecute(CommandsResource.java:385)	at io.fabric8.forge.rest.CommandsResource$4.apply(CommandsResource.java:279)	at io.fabric8.forge.rest.CommandsResource$4.apply(CommandsResource.java:275)	at io.fabric8.forge.rest.CommandsResource.withUIContext(CommandsResource.java:600)	at io.fabric8.forge.rest.CommandsResource.withUIContext(CommandsResource.java:561)	at io.fabric8.forge.rest.CommandsResource.executeCommand(CommandsResource.java:275)	at sun.reflect.GeneratedMethodAccessor684.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)	at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:189)	at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)	at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)	at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:254)	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:298)	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:217)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:273)	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)	at org.eclipse.jetty.server.Server.handle(Server.java:524)	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)	at java.lang.Thread.run(Thread.java:745)