gpt4 book ai didi

asp.net - Azure 调度程序作业 : SendFailure The underlying connection was closed

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

我已使用 HTTPS 操作在 Azure 中创建了计划程序作业,以定期 ping 部署在虚拟机上的 ASP.NET Web 应用程序。 Web 应用程序使用 SSL 证书配置 HTTPS 绑定(bind)。我已使用 IIS Crypto 2.0 工具配置了 IIS 安全性。

调度程序作业因错误而失败:

Http Action - Request to host 'www.somesamplehost.com' failed: SendFailure Theunderlying connection was closed: An unexpected error occurred on asend.

当我尝试从任何浏览器访问相同的 URL 时,它都可以正常工作。

来自 Azure 门户的屏幕截图: Screenshot from Azure Portal

最佳答案

该问题是由于 SSL 证书造成的。我的 Web 应用程序拥有 ECC SSL 证书,但 Azure 计划程序作业不支持向具有此类证书的 Web 应用程序发出请求。

MS 的人员建议了 Scheduler Job 的替代方案。这是 Azure 门户中称为“逻辑应用”的功能。您可以将其设置为定期向特定 URL 发出请求,但与 Scheduler Job 相比,“Logic Apps”具有更多功能。

关于asp.net - Azure 调度程序作业 : SendFailure The underlying connection was closed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41047537/

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