com.sina.weibo.sdk.exception.WeiboException: java.net.UnknownHostException: Unable to resolve host "api.weibo.com": No address associated with hostname

GitHub | wenmingvs | 6 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

    【CrashLog】 WeiSwift 2016-08-18 12:49:35:83

    GitHub | 6 months ago | wenmingvs
    com.sina.weibo.sdk.exception.WeiboException: java.net.UnknownHostException: Unable to resolve host "api.weibo.com": No address associated with hostname
  2. 0

    Route drawing on google map in android error java.net.UnknownHostException: maps.googleapis.com

    Stack Overflow | 2 years ago | Achuthan M
    java.net.UnknownHostException: maps.googleapis.com 11-08 11:14:24.740: W/System.err(4582): at java.net.InetAddress.lookupHostByName(InetAddress.java:506) 11-08 11:14:24.740: W/System.err(4582): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:294)
  3. 0

    Asgard Locks Up My Virtual Machine

    GitHub | 3 years ago | LoveSoftware
    java.net.UnknownHostException: autoscaling.eu-west-1.amazonaws.com
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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. java.net.UnknownHostException

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

    at java.net.InetAddress.lookupHostByName()
  2. Java RT
    InetAddress.getAllByName
    1. java.net.InetAddress.lookupHostByName(InetAddress.java:440)
    2. java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)
    3. java.net.InetAddress.getAllByName(InetAddress.java:215)
    3 frames
  3. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:185)
    2. org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:172)
    3. org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:130)
    4. org.apache.http.impl.client.DefaultRequestDirector.executeOriginal(DefaultRequestDirector.java:1337)
    5. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:705)
    6. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:579)
    7. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:503)
    8. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:481)
    8 frames
  4. com.sina.weibo
    AbsOpenAPI.requestSync
    1. com.sina.weibo.sdk.net.HttpManager.requestHttpExecute(HttpManager.java:180)
    2. com.sina.weibo.sdk.net.HttpManager.openUrl(HttpManager.java:112)
    3. com.sina.weibo.sdk.net.AsyncWeiboRunner.request(AsyncWeiboRunner.java:85)
    4. com.sina.weibo.sdk.openapi.AbsOpenAPI.requestSync(AbsOpenAPI.java:113)
    4 frames
  5. com.wenming.weiswift
    UserModelImp$1.run
    1. com.wenming.weiswift.api.UsersAPI.showSync(UsersAPI.java:97)
    2. com.wenming.weiswift.mvp.model.imp.UserModelImp.showUserDetailSync(UserModelImp.java:82)
    3. com.wenming.weiswift.mvp.model.imp.UserModelImp$1.run(UserModelImp.java:224)
    3 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:818)
    1 frame