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

bug:There is no session with id #162

Open
XiaoYaoXiaoYao opened this issue Oct 28, 2022 · 0 comments
Open

bug:There is no session with id #162

XiaoYaoXiaoYao opened this issue Oct 28, 2022 · 0 comments

Comments

@XiaoYaoXiaoYao
Copy link

2cd171b502f87e1b379d1c5404e7498

Caused by: org.apache.shiro.session.UnknownSessionException: There is no session with id [8a64af9d-59ab-406b-bc72-d6a9db4509c7]
 at org.apache.shiro.session.mgt.eis.AbstractSessionDAO.readSession(AbstractSessionDAO.java:170)
 at org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSessionFromDataSource(DefaultSessionManager.java:236)
 at org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:222)
 at org.apache.shiro.session.mgt.AbstractValidatingSessionManager.doGetSession(AbstractValidatingSessionManager.java:118)
 at org.apache.shiro.session.mgt.AbstractNativeSessionManager.lookupSession(AbstractNativeSessionManager.java:108)
 at org.apache.shiro.session.mgt.AbstractNativeSessionManager.lookupRequiredSession(AbstractNativeSessionManager.java:112)
 at org.apache.shiro.session.mgt.AbstractNativeSessionManager.getAttribute(AbstractNativeSessionManager.java:209)
 at org.apache.shiro.session.mgt.DelegatingSession.getAttribute(DelegatingSession.java:141)
 at org.apache.shiro.session.ProxiedSession.getAttribute(ProxiedSession.java:121)
 at org.apache.shiro.web.servlet.ShiroHttpSession.getAttribute(ShiroHttpSession.java:131)

用户登陆的时候获取不到当前用户的session
环境: shiro-redis :3.1.0 jedis: 2.9.0 shiro:1.2.3

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

1 participant