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

当我用docker 启动多个实例后,登录到swagger,调用不同实例的接口后会抛出以下警告 #361

Closed
LCZQY opened this issue Apr 17, 2024 · 2 comments

Comments

@LCZQY
Copy link

LCZQY commented Apr 17, 2024

Error unprotecting the session cookie. System.Security.Cryptography.CryptographicException: The key {cb2affcd-2b20-482d-9e79-602bc4b5868d} was not found in the key ring. For more information go to https://aka.ms/aspnet/dataprotectionwarning at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status) at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData) at Microsoft.AspNetCore.Session.CookieProtection.Unprotect(IDataProtector protector, String protectedText, ILogger logger)
image

@LemonNoCry
Copy link
Collaborator

有用Redis吗

@LCZQY
Copy link
Author

LCZQY commented Apr 18, 2024

有用Redis 没有把session信息存入redis 哦

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

No branches or pull requests

2 participants