Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

token过期会导致主页一直死循环 #64

Open
Zhang21 opened this issue May 28, 2020 · 1 comment
Open

token过期会导致主页一直死循环 #64

Zhang21 opened this issue May 28, 2020 · 1 comment

Comments

@Zhang21
Copy link

Zhang21 commented May 28, 2020

token过期,登录主页后一直死循环跳转主页。必须手动清理此网站的cookie才能正常。

openresty的日志:

2020/05/28 17:10:22 [error] 67040#67040: *434 [lua] upstream.lua:48: set(): real_uri-------->/authorization/, client: 127.0.0.1, server: gw.opendevops.cn, request: "GET /api/accounts/authorization/ HTTP/1.1", host: "gw.opendevops.cn", referrer: "http://demo-init.opendevops.cn/home"
2020/05/28 17:10:22 [error] 67040#67040: *439 [lua] auth_check.lua:44: check(): Invalid token: 'exp' claim expired at Thu, 28 May 2020 07:43:15 GMT, client: 127.0.0.1, server: gw.opendevops.cn, request: "GET /api/cmdb2/v1/cmdb/tag/ HTTP/1.1", host: "gw.opendevops.cn", referrer: "http://demo-init.opendevops.cn/home"
2020/05/28 17:10:22 [error] 67041#67041: *443 [lua] auth_check.lua:44: check(): Invalid token: 'exp' claim expired at Thu, 28 May 2020 07:43:15 GMT, client: 127.0.0.1, server: gw.opendevops.cn, request: "GET /api/tools/v1/zabbix/issues/ HTTP/1.1", host: "gw.opendevops.cn", referrer: "http://demo-init.opendevops.cn/home"
2020/05/28 17:10:22 [error] 67040#67040: *446 [lua] auth_check.lua:44: check(): Invalid token: 'exp' claim expired at Thu, 28 May 2020 07:43:15 GMT, client: 127.0.0.1, server: gw.opendevops.cn, request: "GET /api/task/v2/task/list/ HTTP/1.1", host: "gw.opendevops.cn", referrer: "http://demo-init.opendevops.cn/home"
2020/05/28 17:10:22 [error] 67040#67040: *447 [lua] auth_check.lua:44: check(): Invalid token: 'exp' claim expired at Thu, 28 May 2020 07:43:15 GMT, client: 127.0.0.1, server: gw.opendevops.cn, request: "GET /api/task/v2/task/statement/ HTTP/1.1", host: "gw.opendevops.cn", referrer: "http://demo-init.opendevops.cn/home"
2020/05/28 17:10:22 [error] 67040#67040: *450 [lua] access_check.lua:18: acc-->>>accounts, client: 127.0.0.1, server: gw.opendevops.cn, request: "GET /api/accounts/authorization/ HTTP/1.1", host: "gw.opendevops.cn", referrer: "http://demo-init.opendevops.cn/home"

不确定是我的问题,还是程序bug。

@ss1917
Copy link
Contributor

ss1917 commented May 28, 2020

可能是新功能的BUG ,这周修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants