java.net.UnknownHostException

Unable to resolve host "vmet.ro": No address associated with hostname

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web520

  • via GitHub by TheDrHax
    , 10 months ago
    Unable to resolve host "vmet.ro": No address associated with hostname
  • Unable to resolve host "api.github.com": No address associated with hostname
  • Unable to resolve host "time.google.com": No address associated with hostname
  • Stack trace

    • java.net.UnknownHostException: Unable to resolve host "vmet.ro": No address associated with hostname at java.net.InetAddress.lookupHostByName(InetAddress.java:424) at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236) at java.net.InetAddress.getAllByName(InetAddress.java:214) at okhttp3.Dns$1.lookup(Dns.java:39) at okhttp3.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:173) at okhttp3.internal.http.RouteSelector.nextProxy(RouteSelector.java:139) at okhttp3.internal.http.RouteSelector.next(RouteSelector.java:81) at okhttp3.internal.http.StreamAllocation.findConnection(StreamAllocation.java:174) at okhttp3.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:127) at okhttp3.internal.http.StreamAllocation.newStream(StreamAllocation.java:97) at okhttp3.internal.http.HttpEngine.connect(HttpEngine.java:289) at okhttp3.internal.http.HttpEngine.sendRequest(HttpEngine.java:241) at okhttp3.RealCall.getResponse(RealCall.java:240) at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:198) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160) at okhttp3.RealCall.execute(RealCall.java:57) at pw.thedrhax.mosmetro.authenticator.Authenticator.getPageContent(Authenticator.java:110) at pw.thedrhax.mosmetro.authenticator.Authenticator.isConnected(Authenticator.java:63) at pw.thedrhax.mosmetro.authenticator.Authenticator.connect(Authenticator.java:148) at pw.thedrhax.mosmetro.authenticator.AuthenticatorStat.connect(AuthenticatorStat.java:34) at pw.thedrhax.mosmetro.services.ConnectionService.connect(ConnectionService.java:199) at pw.thedrhax.mosmetro.services.ConnectionService.onHandleIntent(ConnectionService.java:229) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.os.HandlerThread.run(HandlerThread.java:61) Caused by: libcore.io.GaiException: getaddrinfo failed: EAI_NODATA (No address associated with hostname) at libcore.io.Posix.getaddrinfo(Native Method) at libcore.io.ForwardingOs.getaddrinfo(ForwardingOs.java:61) at java.net.InetAddress.lookupHostByName(InetAddress.java:405) ... 25 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    46 times, 7 months ago
    Once, 8 months ago
    13 times, 10 months ago
    5 times, 1 year ago
    6 times, 1 year ago
    5 more bugmates