微信连WIFI服务器时钟不同步

未分类

最近微信连WIFI体验很差,设备层啥都没动,查了很久查不出问题。

近期在研究服务器时钟问题,把硬件设备时钟同步完,还是没大改善。

今天测试中微信里出现了如下提示:

 

这让我开始怀疑起腾讯服务器是不是也时钟不同步的问题。

为了验证这个问题,就需要找技术方法。

我没法直接登录对方服务器,那怎么确认了。研究了各种方法,最终找到一个如下:

curl -sI https://wifi.weixin.qq.com

 

然后一测腾讯服务器:

灾难啊~~~~~~~~~  有些服务器有比国标快2-3分钟,有些慢2-3分钟啊

 

 

 

正常情况下应该:

[root@HeGW-dev ~]# date
Thu Aug 9 15:43:26 CST 2018
[root@HeGW-dev ~]#
[root@HeGW-dev ~]# curl -sI http://www.baidu.com
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: Keep-Alive
Content-Length: 277
Content-Type: text/html
Date: Thu, 09 Aug 2018 07:43:27 GMT
Etag: “575e1f8a-115”
Last-Modified: Mon, 13 Jun 2016 02:50:50 GMT
Pragma: no-cache
Server: bfe/1.0.8.18

[root@HeGW-dev ~]# curl -sI http://www.baidu.com
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: Keep-Alive
Content-Length: 277
Content-Type: text/html
Date: Thu, 09 Aug 2018 07:43:28 GMT
Etag: “575e1f8a-115”
Last-Modified: Mon, 13 Jun 2016 02:50:50 GMT
Pragma: no-cache
Server: bfe/1.0.8.18

[root@HeGW-dev ~]# curl -sI http://www.baidu.com
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: Keep-Alive
Content-Length: 277
Content-Type: text/html
Date: Thu, 09 Aug 2018 07:43:29 GMT
Etag: “575e1f8a-115”
Last-Modified: Mon, 13 Jun 2016 02:50:50 GMT
Pragma: no-cache
Server: bfe/1.0.8.18

[root@HeGW-dev ~]# curl -sI http://www.baidu.com
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: Keep-Alive
Content-Length: 277
Content-Type: text/html
Date: Thu, 09 Aug 2018 07:43:30 GMT
Etag: “575e1f8a-115”
Last-Modified: Mon, 13 Jun 2016 02:50:50 GMT
Pragma: no-cache
Server: bfe/1.0.8.18

[root@HeGW-dev ~]# curl -sI http://www.baidu.com
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: Keep-Alive
Content-Length: 277
Content-Type: text/html
Date: Thu, 09 Aug 2018 07:43:32 GMT
Etag: “575e1f80-115”
Last-Modified: Mon, 13 Jun 2016 02:50:40 GMT
Pragma: no-cache
Server: bfe/1.0.8.18

[root@HeGW-dev ~]# curl -sI http://www.baidu.com
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: Keep-Alive
Content-Length: 277
Content-Type: text/html
Date: Thu, 09 Aug 2018 07:43:36 GMT
Etag: “575e1f8a-115”
Last-Modified: Mon, 13 Jun 2016 02:50:50 GMT
Pragma: no-cache
Server: bfe/1.0.8.18