gpt4 book ai didi

Azure 服务总线 System.UnauthorizedAccessException

转载 作者:行者123 更新时间:2023-12-03 00:08:21 24 4
gpt4 key购买 nike

我们的 Azure 服务总线连接字符串开始遇到问题,截至凌晨 04:57 不再从服务总线发送/收集消息。

System.UnauthorizedAccessException: The token provider was unable to provide a security token while accessing 'https://biztechsoftware-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The remote name could not be resolved: 'biztechsoftware-sb.accesscontrol.windows.net''. ---> System.IdentityModel.Tokens.SecurityTokenException: The token provider was unable to provide a security token while accessing 'https://biztechsoftware-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The remote name could not be resolved: 'biztechsoftware-sb.accesscontrol.windows.net''. ---> System.Net.WebException: The remote name could not be resolved: 'biztechsoftware-sb.accesscontrol.windows.net'

如果我使用根连接字符串,它就可以正常工作。问题在于我们正在使用的旧连接字符串端点是很久以前创建的。难道这个旧端点已经过期了?

最佳答案

https://learn.microsoft.com/en-us/azure/active-directory/develop/active-directory-acs-migration

November 7, 2018: All Access Control components are permanently shut down. This includes the Access Control management portal, the management service, STS, and the token transformation rule engine. At this point, any requests sent to Access Control (located at .accesscontrol.windows.net) fail. You should have migrated all existing apps and services to other technologies well before this time.

访问控制服务已于昨天停用。您必须使用带有共享访问 key 的共享访问策略连接字符串,或使用预览版中的 Azure AD 身份验证。

还有一个迁移指南:https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-migrate-acs-sas

关于Azure 服务总线 System.UnauthorizedAccessException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53206174/

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