java.net.SocketException: sendto failed: ENETUNREACH (Network is unreachable)

GitHub | weidongjian | 3 months ago
  1. 0

    GitHub comment 217#244031295

    GitHub | 3 months ago | weidongjian
    java.net.SocketException: sendto failed: ENETUNREACH (Network is unreachable)
  2. 0

    stuff

    GitHub | 1 year ago | door43app
    java.net.SocketException: sendto failed: ENETUNREACH (Network is unreachable)
  3. 0

    0.12 - Unable to connect using SSH

    GitHub | 1 year ago | Edholm
    java.net.SocketException: sendto failed: EPERM (Operation not permitted)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1021#159205079

    GitHub | 1 year ago | neutrinog
    android.system.ErrnoException: sendto failed: ENETUNREACH (Network is unreachable)
  6. 0

    ZBeacon Fatal Exception on Network Unreachable

    GitHub | 1 year ago | kevinkreiser
    java.lang.RuntimeException: java.net.SocketException: sendto failed: ENETUNREACH (Network is unreachable)

  1. Alexandru Popa 6743 times, last 2 weeks ago
  2. ivotje50 4 times, last 1 month ago
  3. ivotje50 5 times, last 3 months ago
  4. Agócs Tamás 2 times, last 6 months ago
  5. bayukresno 2 times, last 6 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: ENETUNREACH (Network is unreachable)

    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
    DatagramSocket.send
    1. java.net.PlainDatagramSocketImpl.send(PlainDatagramSocketImpl.java:184)
    2. java.net.DatagramSocket.send(DatagramSocket.java:305)
    2 frames
  4. com.qiniu.android
    Client$1.lookup
    1. com.qiniu.android.dns.local.Resolver.udpCommunicate(Resolver.java:49)
    2. com.qiniu.android.dns.local.Resolver.resolve(Resolver.java:34)
    3. com.qiniu.android.dns.local.HijackingDetectWrapper.resolve(HijackingDetectWrapper.java:22)
    4. com.qiniu.android.dns.local.AndroidDnsServer$1.resolve(AndroidDnsServer.java:119)
    5. com.qiniu.android.dns.DnsManager.queryInternal(DnsManager.java:168)
    6. com.qiniu.android.dns.DnsManager.query(DnsManager.java:116)
    7. com.qiniu.android.dns.DnsManager.queryInetAdress(DnsManager.java:213)
    8. com.qiniu.android.http.Client$1.lookup(Client.java:64)
    8 frames
  5. okhttp3.internal.connection
    ConnectInterceptor.intercept
    1. okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:172)
    2. okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.java:138)
    3. okhttp3.internal.connection.RouteSelector.next(RouteSelector.java:80)
    4. okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:178)
    5. okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:129)
    6. okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:98)
    7. okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
    7 frames
  6. okhttp3.internal.http
    RealInterceptorChain.proceed
    1. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    2. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    2 frames
  7. okhttp3.internal.cache
    CacheInterceptor.intercept
    1. okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:109)
    1 frame
  8. okhttp3.internal.http
    RealInterceptorChain.proceed
    1. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    2. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    3. okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
    4. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    5. okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:124)
    6. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
    7. okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
    7 frames
  9. okhttp3
    RealCall$AsyncCall.execute
    1. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:170)
    2. okhttp3.RealCall.access$100(RealCall.java:33)
    3. okhttp3.RealCall$AsyncCall.execute(RealCall.java:120)
    3 frames
  10. okhttp3.internal
    NamedRunnable.run
    1. okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
    1 frame
  11. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames