Oauth认证的时候报错:timestamp_refused

今天server大规模报错,大部分用户无法登陆,小部分能够登陆,非常是奇怪。

查看log。调试代码,发现问题是在oauth认证的时候出了问题,报 timestamp_refused。


google了下,问了高手,问题定位在server的时间可能有问题

运行date,发现比其它server快了5分钟

[root@localhost ~]# date

Mon May 19 10:05:48 UTC 2014


同步下时间就解决这个问题了。

[root@localhost ~]# ntpdate time.windows.com

19 May 18:22:09 ntpdate[3400]: adjust time server 65.55.56.206 offset -0.286027 sec



posted @ 2016-01-12 20:59  zfyouxi  阅读(353)  评论(0编辑  收藏  举报