upstream prematurely closed connection (uwsgi + nginx + django)

社会主义新天地 提交于 2019-12-02 06:40:28

It's time for mysteries, kids!

The problem mentioned in the question was solved by hard-checking every project file. It turned out that some of them contained unexpected symbols, which used to make Django throw encoding errors, and, as a result, make uwsgi stop.

The mystery part is that the files had been last modified a long time before the problem occured. So how could it happen that they contain extra symbols? Nobody knows.

At least for now, we can say it's solved.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!