2014-08-29 85 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

相关问题