我正在使用Koushik Dutta的Ion Android网络库。
我想通过以下地址建立与instagram的api的连接:https://instagram.com/api/
但是当尝试通过离子时,它适用于某些ISP并且不能与其他ISP一起使用并引发异常。
这似乎是因为地址以https开头,因为它可以正常使用http。
我很感激你的帮助
提前感谢您的导游
记录:
03-02 12:46:51.042: E/instagram_log(3770): (30241 ms) https://instagram.com/api/v1/accounts/login/: Connection error
03-02 12:46:51.045: E/instagram_log(3770): null
03-02 12:46:51.045: E/instagram_log(3770): java.util.concurrent.TimeoutException
03-02 12:46:51.045: E/instagram_log(3770): at com.koushikdutta.async.http.AsyncHttpClient$2.run(AsyncHttpClient.java:247)
03-02 12:46:51.045: E/instagram_log(3770): at com.koushikdutta.async.AsyncServer.lockAndRunQueue(AsyncServer.java:708)
03-02 12:46:51.045: E/instagram_log(3770): at com.koushikdutta.async.AsyncServer.runLoop(AsyncServer.java:725)
03-02 12:46:51.045: E/instagram_log(3770): at com.koushikdutta.async.AsyncServer.run(AsyncServer.java:626)
03-02 12:46:51.045: E/instagram_log(3770): at com.koushikdutta.async.AsyncServer.access$700(AsyncServer.java:41)
03-02 12:46:51.045: E/instagram_log(3770): at com.koushikdutta.async.AsyncServer$13.run(AsyncServer.java:568)
03-02 12:46:51.155: W/System.err(3770): java.util.concurrent.TimeoutException
03-02 12:46:51.156: W/System.err(3770): at com.koushikdutta.async.http.AsyncHttpClient$2.run(AsyncHttpClient.java:247)
03-02 12:46:51.172: W/System.err(3770): at com.koushikdutta.async.AsyncServer.lockAndRunQueue(AsyncServer.java:708)
03-02 12:46:51.172: W/System.err(3770): at com.koushikdutta.async.AsyncServer.runLoop(AsyncServer.java:725)
03-02 12:46:51.172: W/System.err(3770): at com.koushikdutta.async.AsyncServer.run(AsyncServer.java:626)
03-02 12:46:51.172: W/System.err(3770): at com.koushikdutta.async.AsyncServer.access$700(AsyncServer.java:41)
03-02 12:46:51.172: W/System.err(3770): at com.koushikdutta.async.AsyncServer$13.run(AsyncServer.java:568)