Official reasons for “Software caused connection abort: socket write error”

后端 未结 14 1961
别跟我提以往
别跟我提以往 2020-11-21 07:21

Given this stack trace snippet

Caused by: java.net.SocketException: Software caused connection abort: socket write error
&nbs

相关标签:
14条回答
  • 2020-11-21 08:21

    Have you checked the Tomcat source code and the JVM source ? That may give you more help.

    I think your general thinking is good. I would expect a ConnectException in the scenario that you couldn't connect. The above looks very like it's client-driven.

    0 讨论(0)
  • 2020-11-21 08:22

    My server was throwing this exception in the pass 2 days and I solved it by moving the disconnecting function with:

    outputStream.close();
    inputStream.close();
    Client.close();
    

    To the end of the listing thread. if it will helped anyone.

    0 讨论(0)
提交回复
热议问题