libcore.io.ErrnoException: getsockname failed: EBADF (Bad file number)

GitHub | Little-of-Water | 4 months ago
  1. 0

    SocketException: recvfrom failed: ETIMEOUT

    GitHub | 2 years ago | kwazi
    java.net.SocketException: recvfrom failed: ETIMEDOUT (Connection timed out)
  2. 0

    android DatagramSocket for UDP

    Stack Overflow | 2 years ago
    libcore.io.ErrnoException: recvfrom failed: EAGAIN (Try again)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Connection reset by peer Exception

    GitHub | 2 months ago | cvaught
    libcore.io.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
  5. 0

    Push sync after offline mode doesnt work

    GitHub | 3 years ago | azielin4
    java.net.SocketException: recvfrom failed: ETIMEDOUT (Connection timed out)

  1. franky li 7 times, last 1 month ago
  2. aakash 2 times, last 4 months ago
  3. Diogo Jaym 6 times, last 5 months ago
  4. danleyb2Interintel 6 times, last 5 months ago
  5. Ranjana Dangol 19 times, last 5 months ago
6 more registered users
3 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. libcore.io.ErrnoException

    getsockname failed: EBADF (Bad file number)

    at libcore.io.Posix.getsockname()
  2. Android
    IoBridge.recvfrom
    1. libcore.io.Posix.getsockname(Posix.java)
    2. libcore.io.ForwardingOs.getsockname(ForwardingOs.java:65)
    3. libcore.io.IoBridge.getSocketLocalAddress(IoBridge.java:629)
    4. libcore.io.IoBridge.recvfrom(IoBridge.java:533)
    4 frames
  3. Java RT
    PlainSocketImpl$PlainSocketInputStream.read
    1. java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)
    2. java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
    3. java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)
    3 frames
  4. Okio
    RealBufferedSource.readUtf8LineStrict
    1. okio.Okio$2.read(Okio.java:139)
    2. okio.AsyncTimeout$2.read(AsyncTimeout.java:211)
    3. okio.RealBufferedSource.indexOf(RealBufferedSource.java:306)
    4. okio.RealBufferedSource.indexOf(RealBufferedSource.java:300)
    5. okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:196)
    5 frames
  5. okhttp3.internal.http
    HttpEngine.readResponse
    1. okhttp3.internal.http.Http1xStream.readResponse(Http1xStream.java:184)
    2. okhttp3.internal.http.Http1xStream.readResponseHeaders(Http1xStream.java:125)
    3. okhttp3.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:723)
    4. okhttp3.internal.http.HttpEngine.access$200(HttpEngine.java:81)
    5. okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:708)
    6. okhttp3.internal.http.HttpEngine.readResponse(HttpEngine.java:563)
    6 frames
  6. okhttp3
    RealCall.execute
    1. okhttp3.RealCall.getResponse(RealCall.java:241)
    2. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:198)
    3. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160)
    4. okhttp3.RealCall.execute(RealCall.java:57)
    4 frames