2014-08-29 96 views
4

每隔一段時間,通常當我重新安裝我的應用程序時,我會嘗試使用HTTPS身份驗證端點進行身份驗證,請求需要很長時間(大約20-40秒),然後以未知的方式失敗錯誤。我開啓了詳細排球追蹤,並且我看到這個關於safebrowsing.google.com的廢話。發生了什麼事情,我該如何讓它停止?我正在使用帶有4.4 KitKat的Nexus 5。爲什麼Volley會打電話https://safebrowsing.google.com?

 2662    qtaguid I Failed write_ctrl(u 71) res=-1 errno=22 
    2662    qtaguid I Untagging socket 71 failed errno=-22 
    2662 NetworkManagementS.. W untagSocket(71) failed with errno -22 
    2662     Finsky D [1] 3.onErrorResponse: Verification id=7 error response com.android.volley.NoConnectionError: java.net.UnknownHostException: Unable to resolve host "safebrowsing.google.com" 
           : No address associated with hostname 
    2662     Volley D [1] Request.finish: 40045 ms: [ ] https://safebrowsing.google.com/safebrowsing/clientreport/download 0xc9395b26 NORMAL 11 
+1

這有點令人不安。你看過Volley的源代碼,看看有沒有對這個URL的引用? – CommonsWare 2014-08-29 16:12:52

+0

它可能是一個重定向? – 323go 2014-08-29 16:33:42

回答

2

我搜索排球的代碼中並不能找到URL「safebrowsing.google.com」

我想,也許您的驗證端點不接受你的請求參數,並重定向到該域。

+0

我問過我們所有的服務器代碼,並且沒有證據表明auth端點重定向到「safebrowsing.google.com」 – rooftop 2014-08-29 17:46:03

+0

@rooftop,奇怪的是,錯誤消息中包含的URL不存在: 'https:// safebrowsing.google.com/safebrowsing/clientreport/download' 您使用的是哪一個Volley版本?您是否在您的Volley源代碼中搜索此網址? – MartinCR 2014-08-29 17:52:24

+0

com.mcxiaoke.volley:library:1.0.6 – rooftop 2014-08-29 18:01:21

相關問題