java.net.UnknownHostException

Unable to resolve host "api.weibo.com": No address associated with hostname

Samebug tips1

This is a bug that happens in Slide in versions 4.2.0 and before. Update to 4.2.2 or further to fix it.

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

Solutions on the web520

  • Unable to resolve host "api.weibo.com": No address associated with hostname
  • Unable to resolve host "api.weibo.com": No address associated with hostname
  • via Coderanch by Johnny Smithone, 6 months ago
    Unable to resolve host "graph.facebook.com": No address associated with hostname
  • Stack trace

    • java.net.UnknownHostException: Unable to resolve host "api.weibo.com": No address associated with hostname at java.net.InetAddress.lookupHostByName(InetAddress.java:440) 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 org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:481) 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)

    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

    Once, 1 month ago
    4 times, 2 months ago
    2 times, 5 months ago
    15 times, 6 months ago
    Once, 7 months ago
    149 more bugmates