【问题标题】:Web Activity Issue In Azure Data FactoryAzure 数据工厂中的 Web 活动问题
【发布时间】:2019-08-20 09:15:21
【问题描述】:

在执行我的管道时遇到错误。

错误

{ “错误代码”:“2108”, "message": "调用端点出错。响应状态码:", "failureType": "用户错误", “目标”:“Web1” }

这是我的代码:

{ “名称”:“管道1”, “特性”: { “活动”: [ { “名称”:“Web1”, “类型”:“网络活动”, “政策”: { “超时”:“7.00:00:00”, “重试”:0, "retryIntervalInSeconds": 30, “安全输出”:假, “安全输入”:假 }, “类型属性”:{ "url": "http://00.00.00.00:8000/name?env=DEV", “方法”:“获取” } } ] } }

【问题讨论】:

  • 您对网络活动的反应如何?

标签: azure azure-data-factory-2


【解决方案1】:

确保您输入了有效的“url-目标端点和路径”。

我已尝试使用有效的 url,并且作业成功。

网络活动的 JSON 代码:

{
    "name": "pipeline1",
    "properties": {
        "activities": [
            {
                "name": "Webactivity",
                "type": "WebActivity",
                "policy": {
                    "timeout": "7.00:00:00",
                    "retry": 0,
                    "retryIntervalInSeconds": 30,
                    "secureOutput": false,
                    "secureInput": false
                },
                "typeProperties": {
                    "url": "https://www.microsoft.com/",
                    "method": "GET",
                    "body": ""
                }
            }
        ]
    }
}

成功的Web Activity。

更多详情,请参阅“Web activity in Azure Data Factory”。

希望这会有所帮助。

【讨论】:

  • 感谢您的更新,但我在这里遇到了问题:Web Activity required Public end point but we are using Private vnet where we can't allow public end point that's issue。
猜你喜欢
  • 1970-01-01
  • 2022-01-17
  • 1970-01-01
  • 2021-01-25
  • 2022-01-01
  • 2020-06-11
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多