gpt4 book ai didi

amazon-web-services - AWS Lambda API 端点域未解析

转载 作者:行者123 更新时间:2023-12-01 03:40:13 27 4
gpt4 key购买 nike

最近向 Lambda 添加 API 端点是个好消息,但生成的端点无法解析,因此无法触发。

当我调用端点时,我得到以下信息。

DNS_PROBE_FINISHED_NXDOMAIN



还有其他人遇到过这种情况并有解决方案吗?

最佳答案

联系亚马逊支持后发现端点的生成存在错误,以下是支持的报价。

The issue you are seeing has been raised internally and the Lambda team has been notified of the issue. There is a bug in the way that the URL is generated on the Lambda API endpoint page. The region and 'execute-api' parts of the URL have to be switched around and .amazonaws has to be added. So instead of

https://i9ng3vkc9b.eu-west-1.execute-api.com/prod/putme

try

https://i9ng3vkc9b.execute-api.eu-west-1.amazonaws.com/prod/putme

The correct URL is shown when you create a new endpoint, and when you look at the API from the API Gateway Console page. I apologize for the confusion that the bug has caused, it will be fixed shortly.

关于amazon-web-services - AWS Lambda API 端点域未解析,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31433119/

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