mobileresearch / weibo_android_sdk

sina weibo android sdk
643 stars 764 forks source link

调用upload接口随微博上传图片,但返回NoHttpResponseException:The target server failed to respond #5

Open fishautumn opened 11 years ago

fishautumn commented 11 years ago

I'm still seeing this problem within latest Android SDK, any suggestions?

http://open.weibo.com/qa/index.php?qa=2308&qa_1=%E8%B0%83%E7%94%A8upload%E6%8E%A5%E5%8F%A3%E9%9A%8F%E5%BE%AE%E5%8D%9A%E4%B8%8A%E4%BC%A0%E5%9B%BE%E7%89%87-%E4%BD%86%E8%BF%94%E5%9B%9Enohttpresponseexception-respond

fishautumn commented 11 years ago

Android had a bug where HTTPS made reverse DNS lookups (fixed in Ice Cream Sandwich)

http://code.google.com/p/android/issues/detail?id=13117 mentioned a work around which works on my phone.

fishautumn commented 11 years ago

wish owner of this SDK can add the work around, so everyone will be happy.

ened commented 11 years ago

@fishautumn can you submit a pull request? Then maybe @mobileresearch will include it.