gpt4 book ai didi

Azure Devops Service Hooks (Webhook) 失败并显示底层连接已关闭 : An unexpected error occurred on a send

转载 作者:行者123 更新时间:2023-12-03 00:54:14 25 4
gpt4 key购买 nike

我已经配置了一个服务 Hook -> webhook,它使用有效证书调用远程 HTTPS URL。

测试 webhook 时出现此错误:

There was an error sending the request, so there was no response.  
Error(s):
An error occurred while sending the request.
The underlying connection was closed: An unexpected error occurred on a send.
You may not call this function on a different context than the original request

使用curl调用相同的URL一切都很好。

编辑:阅读具有类似错误的答案,我认为该问题可能与 Azure Devops 使用的 TLS 版本有关。

我的远程服务已启用 TLS 1.3 和 1.2,但失败并显示 <= 1.1。

我将其配置为允许 TLS 1.0 和 1.1,但我不断收到相同的错误。

最佳答案

我已选中“接受不受信任的 SSL 证书”。取消选中它解决了问题。

关于Azure Devops Service Hooks (Webhook) 失败并显示底层连接已关闭 : An unexpected error occurred on a send,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73925516/

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