java.net.SocketException: sendto failed: ECONNRESET (Connection reset by peer)

Stack Overflow | jconder | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Disable keep-alive entirely in NanoHttpd?

    Stack Overflow | 9 months ago | jconder
    java.net.SocketException: sendto failed: ECONNRESET (Connection reset by peer)
  2. 0

    NanoHttpd : Android : Socket - java.net.SocketException: sendto failed: EPIPE (Broken pipe)

    Stack Overflow | 2 years ago | No8
    java.net.SocketException: sendto failed: EPIPE (Broken pipe)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. 0x60 30 times, last 6 months ago
  2. brunosatriani 1 times, last 10 months ago
  3. xavilo 2 times, last 1 year ago
  4. jk 4 times, last 9 months ago
  5. justCodeit 5 times, last 2 months ago
16 more registered users
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.system.ErrnoException

    sendto failed: ECONNRESET (Connection reset by peer)

    at libcore.io.Posix.sendtoBytes()
  2. Android
    IoBridge.sendto
    1. libcore.io.Posix.sendtoBytes(Native Method)
    2. libcore.io.Posix.sendto(Posix.java:206)
    3. libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:278)
    4. libcore.io.IoBridge.sendto(IoBridge.java:513)
    4 frames
  3. Java RT
    PlainSocketImpl$PlainSocketOutputStream.write
    1. java.net.PlainSocketImpl.write(PlainSocketImpl.java:504)
    2. java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:37)
    3. java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:266)
    3 frames
  4. fi.iki.elonen
    NanoHTTPD$ClientHandler.run
    1. fi.iki.elonen.NanoHTTPD$Response.sendBody(NanoHTTPD.java:1620)
    2. fi.iki.elonen.NanoHTTPD$Response.sendBodyWithCorrectEncoding(NanoHTTPD.java:1593)
    3. fi.iki.elonen.NanoHTTPD$Response.sendBodyWithCorrectTransferAndEncoding(NanoHTTPD.java:1583)
    4. fi.iki.elonen.NanoHTTPD$Response.send(NanoHTTPD.java:1550)
    5. fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:937)
    6. fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192)
    6 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:818)
    1 frame