libcore.io.GaiException: getaddrinfo failed: EAI_NODATA (No address associated with hostname)

GitHub | maoaixianyu | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Permission Denied, it happens again. It is important for me. Need help.

    GitHub | 9 months ago | maoaixianyu
    libcore.io.GaiException: getaddrinfo failed: EAI_NODATA (No address associated with hostname)
  2. 0

    GitHub comment 2775#238016472

    GitHub | 9 months ago | artem-zinnatullin
    libcore.io.GaiException: getaddrinfo failed: EAI_NODATA (No address associated with hostname)
  3. 0

    Permission Denied? Already state in AndroidManifest

    GitHub | 1 year ago | hamberluo
    libcore.io.GaiException: getaddrinfo failed: EAI_NODATA (No address associated with hostname)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1646#178082622

    GitHub | 1 year ago | tehfonsi
    libcore.io.GaiException: getaddrinfo failed: EAI_NODATA (No address associated with hostname)
  6. 0

    1.0-beta.8 crash: Sender.java line 332

    GitHub | 1 year ago | ajhuntsman
    libcore.io.GaiException: getaddrinfo failed: EAI_NODATA (No address associated with hostname)

  1. Indri Yunita 1 times, last 4 months ago
  2. bmacedo 10 times, last 5 months ago
  3. VeryRedChris 1 times, last 6 months ago
  4. Akshay 8 times, last 7 months ago
  5. Saravana Kumar Chinnaraj 5 times, last 12 months ago
2 more registered users
4 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.GaiException

    getaddrinfo failed: EAI_NODATA (No address associated with hostname)

    at libcore.io.Posix.getaddrinfo()
  2. Android
    ForwardingOs.getaddrinfo
    1. libcore.io.Posix.getaddrinfo(Posix.java)
    2. libcore.io.ForwardingOs.getaddrinfo(ForwardingOs.java:61)
    2 frames
  3. Java RT
    InetAddress.getAllByName
    1. java.net.InetAddress.lookupHostByName(InetAddress.java:405)
    2. java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
    3. java.net.InetAddress.getAllByName(InetAddress.java:214)
    3 frames
  4. okhttp3
    Dns$1.lookup
    1. okhttp3.Dns$1.lookup(Dns.java:39)
    1 frame
  5. okhttp3.internal.http
    HttpEngine.sendRequest
    1. okhttp3.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:173)
    2. okhttp3.internal.http.RouteSelector.nextProxy(RouteSelector.java:139)
    3. okhttp3.internal.http.RouteSelector.next(RouteSelector.java:81)
    4. okhttp3.internal.http.StreamAllocation.findConnection(StreamAllocation.java:174)
    5. okhttp3.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:127)
    6. okhttp3.internal.http.StreamAllocation.newStream(StreamAllocation.java:97)
    7. okhttp3.internal.http.HttpEngine.connect(HttpEngine.java:289)
    8. okhttp3.internal.http.HttpEngine.sendRequest(HttpEngine.java:241)
    8 frames
  6. okhttp3
    RealCall$ApplicationInterceptorChain.proceed
    1. okhttp3.RealCall.getResponse(RealCall.java:240)
    2. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:198)
    2 frames
  7. okhttp3.logging
    HttpLoggingInterceptor.intercept
    1. okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:203)
    1 frame
  8. okhttp3
    RealCall$AsyncCall.execute
    1. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187)
    2. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160)
    3. okhttp3.RealCall.access$100(RealCall.java:30)
    4. okhttp3.RealCall$AsyncCall.execute(RealCall.java:127)
    4 frames
  9. okhttp3.internal
    NamedRunnable.run
    1. okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
    1 frame
  10. 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:841)
    3 frames