【发布时间】:2020-12-06 05:23:09
【问题描述】:
我将 Web Api 托管到 azure 应用服务。我发布时一切正常。
几天后,Web Api 停止响应。但我的应用服务仍在运行。 甚至将应用程序洞察日志添加到所有代码、所有 catch 块中,即使这样也没有帮助。迄今为止没有记录异常。
检查了以下内容,但似乎没有帮助。
- 应用服务的线程数。
- CPU 时间。
这是我在 Web API 关闭后尝试从邮递员那里点击时出现的错误。
<html><head><title>500 - The request timed out.</title></head><body> <font color ="#aa0000"><h2>500 - The request timed out.</h2></font> The web server failed to respond within the specified time.</body></html>
当我重新启动我的应用服务时,Web API 开始工作,几天后又停止了。
【问题讨论】:
标签: azure asp.net-web-api asp.net-web-api2 azure-web-app-service