java.lang.RuntimeException

javax.ws.rs.ProcessingException: java.net.SocketException: Software caused connection abort: recv failed


Samebug tips2

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.

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

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


Solutions on the web9590

Solution icon of youtrack
via YouTrack by Unknown author, 7 months ago
javax.ws.rs.ProcessingException: java.net.SocketException: Software caused connection abort: recv failed

Solution icon of github
via GitHub by shizhongyu
, 7 months ago
javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketExc eption: Software caused connection abort: recv failed

Solution icon of github
via GitHub by lorochka
, 1 year ago
could not connect to Splunk Server @ RBHQLKONDRATE-D:8089 - java.lang.RuntimeException: Software caused connection abort: recv failed

Solution icon of github
java.net.SocketException: Software caused connection abort: socket write error

Solution icon of oraclecommunity
Software caused connection abort: socket write error

Solution icon of jenkins
via Jenkins JIRA by Jordi Cabré, 10 months ago
javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to 172.17.0.1:4243 [/172.17.0.1] failed: Connection refused

Solution icon of stackoverflow
via Stack Overflow by Jordi
, 10 months ago
javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to 172.17.0.1:4243 [/172.17.0.1] failed: Connection refused

Solution icon of stackoverflow
java.net.SocketException: recvfrom failed: ETIMEDOUT (Connection timed out)

Solution icon of web
java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)

Solution icon of sourceforge
java.net.SocketException: Connection reset

Stack trace

  • java.lang.RuntimeException: javax.ws.rs.ProcessingException: java.net.SocketException: Software caused connection abort: recv failed at jetbrains.charisma.maintenance.AsyncBackupBean$1$1.invoke(AsyncBackupBean.java:44) at jetbrains.teamsys.dnq.runtime.txn._Txn.run(_Txn.java:24) at jetbrains.charisma.maintenance.AsyncBackupBean$1.run(AsyncBackupBean.java:36) at jetbrains.charisma.persistent.UserActionJob.executeAction(UserActionJob.java:40) at jetbrains.charisma.persistent.UserActionJob.execute(UserActionJob.java:28) at jetbrains.exodus.core.execution.Job.run(Job.java:99) at jetbrains.exodus.core.execution.ThreadJobProcessor.executeJob(ThreadJobProcessor.java:132) at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doExecuteJob(JobProcessorQueueAdapter.java:261) at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doJobs(JobProcessorQueueAdapter.java:173) at jetbrains.exodus.core.execution.ThreadJobProcessor.run(ThreadJobProcessor.java:110) at jetbrains.exodus.core.execution.ThreadJobProcessor$1.run(ThreadJobProcessor.java:43) at java.lang.Thread.run(Thread.java:745) Caused by: javax.ws.rs.ProcessingException: java.net.SocketException: Software caused connection abort: recv failed at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:481) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255) at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:700) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:228) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:696) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:448) at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:349) at jetbrains.jetpass.client.accounts.SettingClient.updateSetting(SettingClient.java:84) at jetbrains.youtrack.ring.maintenance.HubReadOnlyManager.setReadOnly(HubReadOnlyManager.java:34) at jetbrains.youtrack.ring.maintenance.EmbeddedHubBackupable$EmbeddedHubBackupStrategy.beforeBackup(EmbeddedHubBackupable.java:41) at jetbrains.exodus.backup.BackupBean$1.beforeBackup(BackupBean.java:147) at jetbrains.charisma.maintenance.CancellableBackupBean$1.beforeBackup(CancellableBackupBean.java:56) at jetbrains.exodus.util.CompressBackupUtil.backup(CompressBackupUtil.java:66) at jetbrains.charisma.maintenance.AsyncBackupBean$1$1.invoke(AsyncBackupBean.java:40) ... 11 more Caused by: java.net.SocketException: Software caused connection abort: recv failed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:170) at java.net.SocketInputStream.read(SocketInputStream.java:141) at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139) at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155) at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57) at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261) at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165) at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167) at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71) at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:435) ... 27 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

Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 2 weeks ago
Once, 3 months ago
2 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
362 more bugmates