java.net.UnknownHostException: Unable to resolve host "api.weibo.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 coronalabs.com by Unknown author, 2 years ago
Unable to resolve host "us-odc.samsungapps.com": No address associated with hostname
via Stack Overflow by Mikle
, 2 years ago
Unable to resolve host "q": No address associated with hostname
via Stack Overflow by Umer Yousuf
, 6 months ago
Unable to resolve host "eb.bluestacks.com": No address associated with hostname
via Stack Overflow by safari
, 2 years ago
Unable to resolve host "api.i-v-o.ch": No address associated with hostname
via Stack Overflow by Manitoba
, 2 years ago
Unable to resolve host "192.168.010.200": No address associated with hostname
via Stack Overflow by kumarsu
, 2 years ago
Unable to resolve host "myexample.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)
at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)
at java.net.InetAddress.getAllByName(InetAddress.java:215)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:185)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:172)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:130)
at org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1337)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:705)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:579)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:503)
at com.sina.weibo.sdk.net.HttpManager.requestHttpExecute(HttpManager.java:180)
at com.sina.weibo.sdk.net.HttpManager.openUrl(HttpManager.java:112)
at com.sina.weibo.sdk.net.AsyncWeiboRunner.request(AsyncWeiboRunner.java:85)
at com.sina.weibo.sdk.openapi.AbsOpenAPI.requestSync(AbsOpenAPI.java:113)
at com.wenming.weiswift.api.UsersAPI.showSync(UsersAPI.java:97)
at com.wenming.weiswift.mvp.model.imp.UserModelImp.showUserDetailSync(UserModelImp.java:82)
at com.wenming.weiswift.mvp.model.imp.UserModelImp$1.run(UserModelImp.java:224)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

2 times, 1 month ago
Once, 1 month ago
11 times, 2 months ago
Once, 3 months ago
Once, 4 months ago

Write tip

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