首页 > 其他 > 详细

Error unprotecting the session cookie.The key {...} was not found in the key ring.

时间:2020-06-05 16:08:45      阅读:736      评论:0      收藏:0      [点我收藏+]

 .Net Core 3.0

续:Error unprotecting the session cookie.The payload was invalid. 出现了新的BUG

warn: Microsoft.AspNetCore.Session.SessionMiddleware[7]
      Error unprotecting the session cookie.
System.Security.Cryptography.CryptographicException: The key {40d34e51-8e22-41b3-a179-fe353bcd0280} was not found in the key ring.
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.DangerousUnprotect(Byte[] protectedData, Boolean ignoreRevocationErrors, Boolean& requiresMigration, Boolean& wasRevoked)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)
   at Microsoft.AspNetCore.Session.CookieProtection.Unprotect(IDataProtector protector, String protectedText, ILogger logger)

把浏览器关闭再打开,就可以了。

Error unprotecting the session cookie.The key {...} was not found in the key ring.

原文:https://www.cnblogs.com/vipsoft/p/13049879.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!