大佬们有没有遇到过, chrome 进入百度,谷歌浏览器提示一个红色的不安全,然后一直在进行重复请求,但就是进不去百度页面。
每次都会发起两次请求,其中一次的请求信息:
Request URL:http://www.baidu.com/ Request Method:GET Status Code:307 Internal Redirect
Response Headers :
Location:https://www.baidu.com/ Non-Authoritative-Reason:HSTS
然后这种情况,如果我清理整个浏览器的缓存,重新请求就没问题了。但是隔一段时间又出现
请教如何根治? PS :第一次发帖,有误请见谅
![]() | 1 RE 2017-03-03 16:21:39 +08:00 |
2 morethansean 2017-03-03 16:36:38 +08:00 看下面一个请求呢? |
3 lil460982475 OP @RE 直接访问 https 的也不行,然后没开代理,也没用抓包软件 |
4 lil460982475 OP @morethansean 第二个请求是正常的 Request URL:http://www.baidu.com/ Request Method:GET Status Code:200 OK Remote Address:14.215.177.37:443 Request Headers : Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Encoding:gzip, deflate, sdch, br Accept-Language:zh-CN,zh;q=0.8,en;q=0.6 Connection:keep-alive Cookie:BAIDUID=957B9E4731EA7240B692FD3C2F1A1C53:FG=1; BIDUPSID=957B9E4731EA7240B692FD3C2F1A1C53; PSTM=1487812410; BD_UPN=12314353; BD_CK_SAM=1; PSINO=6; H_PS_PSSID=1457_21095_22035_22173_22074; BDSVRTM=0 Host:www.baidu.com Upgrade-Insecure-Requests:1 User-Agent:Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 |
5 morethansean 2017-03-03 17:45:26 +08:00 不是我的意思是,你不是说一直打不开百度吗?第一次的请求不重要,重要的是看看为什么第二次那个请求没能够正常。 |
6 lil460982475 OP @morethansean Sorry ,有一点我也刚看到。。。。突然发现第二次返回的 Response 是个死循环。。。我不知道为什么会这样 <!DOCTYPE html> <html> <head> <meta http-equiv="Refresh" cOntent="0;URL=http://www.baidu.com/" /> </head> </html> |
7 lil460982475 OP 终于找到了一种方式,先试试: http://blog.csdn.net/mengke1124/article/details/52766270 |
![]() | 8 234235 2017-03-03 20:44:41 +08:00 更新一下 Chrome 试试 |