Open Zhang21 opened 4 years ago
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。
可能是新功能的BUG ,这周修复
token过期,登录主页后一直死循环跳转主页。必须手动清理此网站的cookie才能正常。
openresty的日志:
不确定是我的问题,还是程序bug。