Python/Flask Web App错误 [英] Python/Flask Web App Error

查看:114
本文介绍了Python/Flask Web App错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过azure devops在azure应用程序服务上部署了Python/Flask Web应用程序,并在浏览到该页面时获得以下内容:-

由于发生内部服务器错误,因此无法显示该页面.

如何进一步挖掘以获取错误的详细信息?

解决方案

疑难解答-在Azure Web/API应用上记录python应用程序错误 ,并查看它是否有助于解决您的问题.

此外,我建议你 为Azure应用服务中的Web应用启用诊断日志记录 启用了 可以解决此问题的根本原因

- -------------------------------------------------- --------------------------------------
如果此答案有帮助,请单击标记为答案"或上投票".要提供有关您的论坛体验的其他反馈,请单击 span> .


I deployed a Python/Flask web app on azure app service via azure devops and getting the following when I browse to the page:- 

The page cannot be displayed because an internal server error has occurred.

How do I dig further to get details of the error? 

解决方案

You can follow the troubleshooting steps Troubleshoot- logging python Application errors on Azure Web/API Apps and see if it helps to resolve your issue.

Also, I suggest you Enable diagnostics logging for web apps in Azure App Service in case if you haven’t enabled earlier for getting to the root cause of this issue.

------------------------------------------------------------------------------------------
If this answer was helpful, click "Mark as Answer" or "Up-Vote". To provide additional feedback on your forum experience, click here.


这篇关于Python/Flask Web App错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆