java.net.SocketException

Connection reset by peer: socket write error

Samebug tips13

Client closed the websocket connection (safe to ignore)

Set larger socket timeout (or 0 to set no timeout).

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

Solutions on the web8982

  • 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.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(Unknown Source) at java.net.SocketOutputStream.write(Unknown Source) at sun.security.ssl.OutputRecord.writeBuffer(Unknown Source) at sun.security.ssl.OutputRecord.write(Unknown Source) at sun.security.ssl.SSLSocketImpl.writeRecordInternal(Unknown Source) at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source) at sun.security.ssl.AppOutputStream.write(Unknown Source) at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source) at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source) at sun.nio.cs.StreamEncoder.implFlush(Unknown Source) at sun.nio.cs.StreamEncoder.flush(Unknown Source) at java.io.OutputStreamWriter.flush(Unknown Source) at java.io.BufferedWriter.flush(Unknown Source) at java.io.FilterWriter.flush(Unknown Source) at org.jivesoftware.smack.tcp.PacketWriter.writePackets(PacketWriter.java:190) at org.jivesoftware.smack.tcp.PacketWriter.access$000(PacketWriter.java:40) at org.jivesoftware.smack.tcp.PacketWriter$1.run(PacketWriter.java:77)

    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
    2 times, 5 months ago
    3 times, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 7 months ago
    233 more bugmates