java.net.SocketException

Connection reset by peer: socket write error

Samebug tips4

before running my test in debug mode, i open the debug view, and remove some breakpoints (such as some remaining on NullPointersExceptions, and Sockets)

Try removing all the breakpoints (even if breakpoints are disabled the problem still occurs, yes even if both disabled entirely and piecewise).

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

Solutions on the web8985

  • Connection reset by peer: socket write error
  • via GitHub by augi
    , 8 months ago
    Connection reset by peer: socket write error
  • via Google Groups by Rafał Gorzkowski, 1 year ago
    Connection reset by peer: socket write error
  • Stack trace

    • java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite(Native Method) at java.net.SocketOutputStream.write(SocketOutputStream.java:96) at java.io.ObjectOutputStream.drain(ObjectOutputStream.java:1463) at java.io.ObjectOutputStream.setBlockData(ObjectOutputStream.java:1486) at java.io.ObjectOutputStream.resetStream(ObjectOutputStream.java:566) at java.io.ObjectOutputStream.<init>(ObjectOutputStream.java:160)

    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 user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    43 more bugmates