java.lang.RuntimeException

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

Samebug tips2

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.


rafaelrafael
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


rafaelrafael

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

Solutions on the web1876

  • via by Unknown author,
  • 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

    Unknown visitor
    Unknown visitor1 times, last one,
    PilleoPilleo
    1 times, last one,
    rprp
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    236 more bugmates