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

每次调用都在续期active-time,但是每过十几分钟就token失效 #546

Open
Zirolyx opened this issue Nov 16, 2023 · 2 comments

Comments

@Zirolyx
Copy link

Zirolyx commented Nov 16, 2023

使用版本:

v1.36.0

报错信息:

每登录十几分钟就提示口令无效。实际配置的timeout是默认的30天,active-timeout配置的30分钟,经排查,redis中的部分token已丢失

希望结果:

token的active-timeout在正常刷新的情况下能正常访问

复现步骤:

登录系统后,一直在调用接口,每次访问接口都统一调用StpUtil.checkLogin()(查看了该接口会自动续期timout
),但是操作页面十几分钟后就出现token无效,去redis查看,该token已不存在,该问题已有其他群友出现
< 备注:如果复现步骤比较复杂,请将 demo 上传到 gitee 并留下地址 >

@Zirolyx Zirolyx changed the title redis中的token丢失 每次调用都在续期active-time,但是每过十几分钟就token失效 Nov 16, 2023
@fisher2017
Copy link

application.yaml 中设置auto-renew: true

@click33
Copy link
Collaborator

click33 commented May 10, 2024

image
参考paic排查一下

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

3 participants