jcoleman / tomcat-redis-session-manager

Redis-backed non-sticky session store for Apache Tomcat
MIT License
1.8k stars 1.12k forks source link

Session Error with data equal to NULL_SESSION. This is a bug. #94

Open hallosushant opened 7 years ago

hallosushant commented 7 years ago

Following error is continuously coming from RedisSessionManager causing session expiry and logout of users from application :

重大: Encountered serialized session 127A0C54AB3F0A35D12AFBDF181C5009.i01-101.i01-101 with data equal to NULL_SESSION. This is a bug. 3 29, 2017 5:38:37 午後 com.orangefunction.tomcat.redissessions.RedisSessionManager sessionFromSerializedData

It started randomly and after restart of redis sentinels the issue got resolved.

What is the reason for this issue and why NULL_SESSION was set.

shenliuyang commented 6 years ago

楼上怎么解决的这个问题呀, 我们也遇到了。

nuccch commented 6 years ago

Please sure "Error saving newly created session: " log content exits or not