简体   繁体   English

Webhook 验证握手失败

[英]Webhook validation handshake failed

i'm new in azure and wanted to create an Event subscription to push any changes (here resource write success) from my blob storage to my Logic App via HTTP.我是 azure 的新手,想创建一个事件订阅以通过 HTTP 从我的 blob 存储推送任何更改(此处为资源写入成功)到我的逻辑应用程序。 In my Logic app i have a When a HTTP request is received , which would run when i send a request.在我的逻辑应用程序中,我有一个当收到 HTTP 请求时,它会在我发送请求时运行。

just wanted to demonstrate how i'm trying to create it.只是想展示我是如何尝试创建它的。

NAME: 'i dont think this matters'姓名:“我认为这不重要”

... ...

TOPIC NAME: 'just gave it a Random Name, should this refer to sth?'主题名称:“只是给它一个随机名称,这应该是指某事吗?”

Source Resource:'My Storage Account'来源资源:“我的存储帐户”

ENDPOINT:'i got the URL from the Overview page of my logic app (Workflow URL )' URL looks like this:端点:'我从我的逻辑应用程序的概述页面(工作流 URL)中获得了 URL'URL 看起来像这样:

https://LOGICAPPNAME.azurewebsites.net:443/api/APPNAME/triggers/manual/invoke?api-version=2022-05-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=RjVKZbs-0CV559hZYlFfhM0k22W39lS5

when i copy and paste this to my browser i can trigger my Logic App.当我将其复制并粘贴到我的浏览器时,我可以触发我的逻辑应用程序。 i think that act as a GET and i'm not sure if it sends it as POST or etc. it would make any difference.我认为这可以作为 GET,我不确定它是否以 POST 或其他方式发送。它会有所作为。

在此处输入图像描述

and i got this error.我得到了这个错误。

Deployment has failed with the following error: {"code":"Url validation","message":"Webhook validation handshake failed for https://LOGICAPPNAME.azurewebsites.net/api/APPNAME/triggers/manual/invoke . Http POST request retuned 2XX response with response body. When a validation request is accepted without validation code in the response body, Http GET is expected on the validation url included in the validation event(within 10 minutes). For troublehooting, visit https://aka.ms/esvalidation . Activity id:ID, timestamp: DATE TIME"}部署失败,出现以下错误:{"code":"Url validation","message":"https ://LOGICAPPNAME.azurewebsites.net/api/APPNAME/triggers/manual/invoke的 Webhook 验证握手失败。Z9D4D43DE68F0B3555D5A5EF5DC05BB9 request retuned 2XX response with response body. When a validation request is accepted without validation code in the response body, Http GET is expected on the validation url included in the validation event(within 10 minutes). For troublehooting, visit https://aka .ms/esvalidation . 活动 ID:ID,时间戳:DATE TIME"}

If there's still confusion on how i'm doing this, i'm trying to follow THIS EXAMPLE .如果对我如何做到这一点仍然感到困惑,我正在尝试遵循这个示例 How can i fix this Error?我该如何解决这个错误?

After reproducing from my end, I could able to achieve this following the link you have provided using the below details for creation of my logic app.从我的角度复制后,我可以按照您提供的链接使用以下详细信息创建我的逻辑应用程序来实现此目的。

在此处输入图像描述

The reason you are receiving that error is that you need to use Logic App HTTP Trigger Request URL as Web Hook's endpoint and not the Logicapp's URL. The reason you are receiving that error is that you need to use Logic App HTTP Trigger Request URL as Web Hook's endpoint and not the Logicapp's URL.

NOTE: You don't really have to call the Trigger again, whenever you make any changes to your storage account the logic apps gets triggered.注意:您实际上不必再次调用触发器,只要您对存储帐户进行任何更改,就会触发逻辑应用。

RESULTS:结果:

  1. When Blob is Created何时创建 Blob

    在此处输入图像描述

  2. When a Blob is Deleted删除 Blob 时

    在此处输入图像描述

REFERENCES: "When blob is added or modified" trigger will not be fired on subfolder" answered by SamaraSoucy-MSFT - Microsoft Q&A参考: “添加或修改 blob 时”触发器不会在子文件夹上触发“由 SamaraSoucy-MSFT 回答 - Microsoft Q&A

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 由于“Webhook 验证握手失败”,Azure 应用程序配置部署事件订阅失败 - Azure App configuration Deploying Event Subscription failed due to “Webhook validation handshake failed” Azure 事件网格 Webhook 验证握手 - Azure Event Grid Webhook validation handshake Azure上的SignalR:连接握手失败 - SignalR on Azure: Failed Connection Handshake 创建 Azure 事件网格 webhook 订阅失败 TLS 握手 - Creating Azure Event Grid webhook subscription fails TLS handshake 如何使用MSgraph处理Webhook验证请求? - how to handle webhook validation requests with MSgraph? Terraform:SSH认证失败(user @:22):ssh:握手失败 - Terraform: SSH authentication failed (user@:22): ssh: handshake failed SQL 服务器登录前握手(错误:31 - 加密(ssl/tls)握手失败) - SQL Server Pre-Login Handshake (error: 31 - Encryption(ssl/tls) handshake failed) Golang 连接到 SQL Server 错误-“TLS 握手失败:无法读取握手数据包:EOF” - Golang connection to SQL Server error - "TLS Handshake failed: Cannot read handshake packet: EOF" ARM 模板验证失败 - ARM template validation failed Azure/.NET CORE 3.1 - Function 应用程序中的 Github Webhook 秘密验证 - Azure/.NET CORE 3.1 - Github Webhook secret validation in Function App
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM