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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 162#165325253
    via GitHub by YaleZheng
    ,
  • Broadcasting over Wi-Fi Direct
    via Stack Overflow by user2190832
    ,
  • GitHub comment 13#207984356
    via GitHub by zdby
    ,
  • GitHub comment 31#57487889
    via GitHub by navodit-nit
    ,
    • java.net.SocketException: sendto failed: ENETUNREACH (Network is unreachable) at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:499) at libcore.io.IoBridge.sendto(IoBridge.java:468) at java.net.PlainDatagramSocketImpl.send(PlainDatagramSocketImpl.java:182) at java.net.DatagramSocket.send(DatagramSocket.java:281) at com.qiniu.android.dns.local.Resolver.udpCommunicate(Resolver.java:50) at com.qiniu.android.dns.local.Resolver.resolve(Resolver.java:34) at com.qiniu.android.dns.DnsManager.queryInternal(DnsManager.java:132) at com.qiniu.android.dns.DnsManager.query(DnsManager.java:82) at com.qiniu.android.http.ClientConnectionOperator.systemResolv(ClientConnectionOperator.java:243) at com.qiniu.android.http.ClientConnectionOperator.openConnection(ClientConnectionOperator.java:141) at cz.msebera.android.httpclient.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:145) at cz.msebera.android.httpclient.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131) at cz.msebera.android.httpclient.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) at cz.msebera.android.httpclient.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) at cz.msebera.android.httpclient.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:860) at cz.msebera.android.httpclient.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at com.loopj.android.http.AsyncHttpRequest.makeRequest(AsyncHttpRequest.java:146) at com.loopj.android.http.AsyncHttpRequest.makeRequestWithRetries(AsyncHttpRequest.java:177) at com.loopj.android.http.AsyncHttpRequest.run(AsyncHttpRequest.java:106) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841) Caused by: libcore.io.ErrnoException: sendto failed: ENETUNREACH (Network is unreachable) at libcore.io.Posix.sendtoBytes(Native Method) at libcore.io.Posix.sendto(Posix.java:156) at libcore.io.BlockGuardOs.sendto(BlockGuardOs.java:177) at libcore.io.IoBridge.sendto(IoBridge.java:466) ... 22 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Indri Yunita
    Indri Yunita322 times, last one,
    franky li
    franky li6 times, last one,
    mukky
    mukky72 times, last one,
    Ranjana Dangol
    Ranjana Dangol19 times, last one,
    10 more bugmates