【发布时间】:2020-06-27 02:44:31
【问题描述】:
我在 Azure 应用服务中托管了 Api。
IT 工作正常,但现在在点击 API 后,它返回状态代码为 502 和消息
The specified CGI application encountered an error and the server terminated the process.
我已经重新启动了应用服务,它开始正常工作,但这种情况经常发生。
如果这种情况经常发生或有任何其他建议,是否有办法获得警报或自动重启应用服务。
这是我在 Azure 性能中发现的
任何建议都是值得赞赏的。 感谢您的帮助
【问题讨论】:
-
您应该将应用洞察添加到您的项目中,以获取详细的日志以识别代码中的问题。
标签: azure performance .net-core azure-application-insights