Azure函数返回间歇性502错误

发布于 2025-02-10 16:16:03 字数 237 浏览 1 评论 0 原文

我有一个Azure函数运行时版本1,该版本1返回502个糟糕的网关错误。我不确定是什么原因。日志没有提供任何有用的东西。 ”在此处输入图像说明”

I have an azure function runtime version 1 that is returning 502 Bad Gateway errors after running for sometime. I am not sure what could be the reason. Logs don't provide anything useful.enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

甜妞爱困 2025-02-17 16:16:03

要解决错误尝试此解决方法:

  • firtsly,转到Azure Portal
  • ,然后单击您的Azure函数应用程序
  • ,然后在设置中单击 configuration
  • ,然后在 https中单击 on on in https仅

“在此处输入映像说明”

也可能是因为资源数量较少而引起的,您可以增加您的通过升级计划来资源。

根据 microsft-formocumentation 它说,您使用的是Azure函数版本1,尝试将运行时升级为4。

To resolve the error try this workaround:

  • Firtsly, go to Azure portal
  • Then Click on your Azure function App
  • Then click on configuration in settings
  • Then Click on On in https only segment

enter image description here

These might be also caused because of less number of resources, you can increase your resources by upgrading the plan.

According Microsft-Documentation it says, you are using azure function version 1, try Upgrading function runtime to 4.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文