gpt4 book ai didi

ubuntu - 如何在 ubuntu 中解决这些警告?

转载 作者:太空宇宙 更新时间:2023-11-03 16:53:12 26 4
gpt4 key购买 nike

我无法理解这个问题的本质。我提供了我所拥有的堆栈跟踪:

kestrel.service - ASP.NET Core Application running on Ubuntu
Loaded: loaded (/etc/systemd/system/kestrel.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2017-08-29 14:34:18 BRT; 7s ago
Main PID: 2356 (dotnet)
Tasks: 25
Memory: 173.9M
CPU: 6.913s
CGroup: /system.slice/kestrel.service
└─2356 /usr/bin/dotnet /var/www/publish/Abp.Web.Mvc.dll

Aug 29 14:34:18 ubuntu systemd[1]: Started ASP.NET Core Application running on Ubuntu.
Aug 29 14:34:20 ubuntu dotnet-example[2356]: : Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository[50]
Aug 29 14:34:20 ubuntu dotnet-example[2356]: Using an in-memory repository. Keys will not be persisted to storage.
Aug 29 14:34:20 ubuntu dotnet-example[2356]: warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[59]
Aug 29 14:34:20 ubuntu dotnet-example[2356]: Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will b
Aug 29 14:34:20 ubuntu dotnet-example[2356]: info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[58]
Aug 29 14:34:20 ubuntu dotnet-example[2356]: Creating key {2a2891cb-5852-4f47-9b1b-c97850fc05cc} with creation date 2017-08-29 17:34:20Z, activation da
Aug 29 14:34:20 ubuntu dotnet-example[2356]: warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
Aug 29 14:34:20 ubuntu dotnet-example[2356]: No XML encryptor configured. Key {2a2891cb-5852-4f47-9b1b-c97850fc05cc} may be persisted to storage in une
~

非常感谢。

最佳答案

当内省(introspection)端点收到 token 时,这是正常的,它必须通过尝试反序列化来确定它是访问 token 、身份 token 、授权代码还是刷新 token 。在这种情况下,OIDC 服务器中间件尝试将 token 读取为身份 token 但失败了(这是预期的,因为 token 可能是访问 token )。配置数据保护并确保 key 环在您的用户之间共享实例

了解更多信息 -> https://learn.microsoft.com/en-us/aspnet/core/security/data-protection/configuration/overview

关于ubuntu - 如何在 ubuntu 中解决这些警告?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45945604/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com