gpt4 book ai didi

Azure Web 服务 [Web App for Containers (linux)] - 如何定期防止超时

转载 作者:行者123 更新时间:2023-12-03 00:38:46 25 4
gpt4 key购买 nike

Web服务中定期出现错误日志:

ERROR - Container XXX for site YYY did not start within expected time limit. Elapsed time = 230.3790706 sec

我设置了 Microsoft's blog 中已提到的以下设置但仍然失败:

1. Use the EXPOSE instruction in your Dockerfile to expose port 3000.
2. Use the WEBSITES_PORT app setting with a value of "3000" to expose that port.

如何配置来防止此错误?

最佳答案

Azure: Container did not start within expected time (WebApp) 中发现类似问题与解决方案。

添加应用程序设置:WEBSITES_CONTAINER_START_TIME_LIMIT = 1800

关于Azure Web 服务 [Web App for Containers (linux)] - 如何定期防止超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53738487/

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