当我用docker 启动多个实例后,登录到swagger,调用不同实例的接口后会抛出以下警告
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)
有用Redis吗
有用Redis 没有把session信息存入redis 哦