gpt4 book ai didi

c# - Botframework Web 应用程序 Azure IDX20803 : Unable to obtain configuration from: '[PII is hidden]

转载 作者:行者123 更新时间:2023-12-02 23:18:32 27 4
gpt4 key购买 nike

我们的机器人有问题

过去 4 个月运行良好,没有出现任何错误。

但是今天我们收到了相关错误:

2018-12-17T17:50:25  PID[5736] Error       
Error refreshing OpenId configuration: System.InvalidOperationException:
IDX20803: Unable to obtain configuration from: '[PII is hidden]'.
---> System.IO.IOException: IDX20804: Unable to retrieve document from: '[PII is hidden]'.
---> System.Net.Http.HttpRequestException: An error occurred while sending the request.
---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send.
---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

完整的日志文件在此链接中显示:https://pastebin.com/ZLx9G9W7

我认为这是一个异常(exception),因为 IIS 配置也是如此,但我们没有对此进行任何更改。

提前谢谢您。

最佳答案

好的,我已经与 Microsoft 的工程师通了电话。他们告诉我 BotFramework 不再支持 TLS 1.0,我们必须迁移到版本 1.2。他们在博客文章中宣布了这一点:https://blog.botframework.com/2018/11/06/announcement-azure-bot-service-enforcing-transport-layer-security-tls-1-2/

通过在启动代码中添加此行来修复我的机器人(在我的例子中,它是 Global.asax.cs 中的 Application_Start):

System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;

关于c# - Botframework Web 应用程序 Azure IDX20803 : Unable to obtain configuration from: '[PII is hidden],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53823352/

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