azure - 从logicapp调用Azure函数时出现BadRequest

标签 azure azure-functions timeout azure-logic-apps

在我的logicapp中,我已配置为触发azure函数,一旦azure函数触发,它就会成功完成工作,但在logicapp流程中,我可以看到它因错误请求而失败(JPG下方)

enter image description here

错误:

{
  "error": {
    "code": "BadRequest",
    "message": "Http request failed: the server did not respond within the timeout limit. Please see logic app limits at https://aka.ms/logic-apps-limits-and-config#http-limits."
  }
}

Azure功能的更多详细信息:

  1. 平均总运行时间 3-5 分钟
  2. 用 PowerShell 编写

最佳答案

enter image description here 在逻辑应用程序的错误图像中,它显示 MS Link即 Azure 逻辑应用程序限制和配置。

据报道,Azure 逻辑应用中的 Http 请求的入站和出站请求都有限制:

enter image description here

此外,还有关于在长期运行情况下在逻辑应用中使用入站请求的注释部分。

感谢 @AnandSowmithiran 使用 Jeff Hollan 的媒介向用户建议替代解决方案 article .

如果逻辑应用中的 HTTP Webhook 运行时间较长且总运行时间超过逻辑应用入站请求的默认超时,则可以使用该 HTTP Webhook。

我找到了SO Thread当函数应用程序触发时,在 Azure 逻辑应用程序超时的同一上下文中,用户@HuryShen通过示例示例提供了如何在 Azure 逻辑应用程序中使用 Webhook。

关于azure - 从logicapp调用Azure函数时出现BadRequest,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74937175/

相关文章:

azure - 使用数据工厂移动文件时如何在目标中保留文件的原始名称?

用于托管图像/媒体的 Azure Blob 存储 - 使用 blob URL 获取(无需中间 Controller )

azure - 创建 Azure NAT 网关时,sku 字段的值应该是多少?

Android Lollipop Wifi 套接字 java.net.ConnectException ETIMEDOUT

c# - 无法将类型 'Polly.CircuitBreaker.AsyncCircuitBreaker' 隐式转换为 'Polly.Policy'

Azure SQL Server 导入数据库需要最少的 RBAC 访问权限

azure-functions - 从 Azure 函数将消息写入 Azure 服务总线队列

powershell - 如何使用 PowerShell 从 Azure 函数查询 Azure 表

azure - 如何azure函数HttpTrigger编辑代码参数名称?

php - 在 PHP 中使用 cURL 下载大文件 - 页面挂起