java.net.UnknownHostException: Unable to resolve host "api.github.com": No address associated with hostname

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Tony Varghese
, 10 months ago
Unable to resolve host "api.github.com": No address associated with hostname
via Stack Overflow by Bignadad
, 1 year ago
Unable to resolve host "www.*****.io": No address associated with hostname
via GitHub by wuhgit
, 2 months ago
Unable to resolve host "shadowsocks.org": No address associated with hostname
via GitHub by wuhgit
, 2 months ago
Unable to resolve host "raw.githubusercontent.com": No address associated with hostname
via GitHub by wuhgit
, 2 months ago
Unable to resolve host "shadowsocks.org": No address associated with hostname
via GitHub by gotev
, 1 year ago
Unable to resolve host "wwww.goooooooooooeoeoeoeoel.com": No address associated with hostname
android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
at libcore.io.Posix.android_getaddrinfo(Native Method)
at java.net.InetAddress.lookupHostByName(InetAddress.java:451)

Users with the same issue

2 times, 5 days ago
Once, 1 week ago
11 times, 1 month ago
Once, 2 months ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.