Python 3.4(Flask)Azure Web App经常出现500个错误 [英] Getting 500 errors frequently for Python 3.4 (Flask) Azure Web App
问题描述
详细的错误信息:
Detailed Error Information:
模块 | FastCgiModule |
---|---|
通知 | ExecuteRequestHandler |
处理程序 | Python34_via_FastCGI |
错误代码 | 0xc0000135 |
Module | FastCgiModule |
---|---|
Notification | ExecuteRequestHandler |
Handler | Python34_via_FastCGI |
Error Code | 0xc0000135 |
推荐答案
请澄清一下,在此问题之前是否有任何更改?您在Windows或Linux上的App Service上运行吗?
Just to clarify, were there any changes prior to this issue? Are you running on App Service Windows or Linux?
您可以看看 app-service-announcements - 应用 从11月12日开始,运行Python 3.4.1的服务(Windows)网站将更新为Python 3.6.6.
You may take a look at the app-service-announcements -App Service (Windows) Sites running Python 3.4.1 will be updated to Python 3.6.6 starting November 12th
如果您尚未执行此操作已经如此,您可以对代码进行必要的更改,看看是否有帮助或根据您的要求, 您可以改为手动配置网站以使用Python 3.4上面链接中概述的过程,看看如何进行
If you haven’t done this already so, you may make necessary changes in the code and see if that helps or based on your requirement, you can instead manually configure a site to use Python 3.4 using the procedure outlined in the link above and see how that goes
Reference: App Service sites running Python 3.4.1 being updated to Python 3.6.6
还要确认您的应用程序的结构符合App Service的预期for 烧瓶 , 或使用 自定义启动命令 .让我们知道以上内容如何进行进一步调查.
Also confirm that your app is structured as App Service expects for Flask, or use a custom startup command. Let us know how the above goes for further investigation.
这篇关于Python 3.4(Flask)Azure Web App经常出现500个错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!