java.net.UnknownHostException

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.

  • Unable to debug on Lollipop
    via by dylanvdm,
  • callback function to recover data from async task
    via by Unknown author,
  • call REST-API from AsynchTask in another class
    via by Unknown author,
    • java.net.UnknownHostException: Unable to resolve host "omlet.me": No address associated with hostname at java.net.InetAddress.lookupHostByName(InetAddress.java:457) at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252) at java.net.InetAddress.getAllByName(InetAddress.java:215) at com.squareup.okhttp.internal.Dns$1.getAllByName(Dns.java:28) at com.squareup.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:216) at com.squareup.okhttp.internal.http.RouteSelector.next(RouteSelector.java:122) at com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:292) at com.squareup.okhttp.internal.http.HttpEngine.sendSocketRequest(HttpEngine.java:255) at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:206) at com.squareup.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:351) at com.squareup.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:90) at com.squareup.okhttp.internal.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:198) at com.squareup.okhttp.internal.http.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:254) Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname) at libcore.io.Posix.android_getaddrinfo(Native Method) at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55) at java.net.InetAddress.lookupHostByName(InetAddress.java:438) ... 12 more Caused by: android.system.ErrnoException: android_getaddrinfo failed: EINTR (Interrupted system call) ... 15 more

    Users with the same issue

    Hiren Amaliyar
    6 times, last one,
    dealloc
    6 times, last one,
    ajinkya_w
    4 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,