upstream prematurely closed connection (uwsgi + nginx + django)

后端 未结 1 898
野性不改
野性不改 2021-01-23 16:57

I am trying to configure my django application on a new server. It works fine unless I try to pass GET parameters. I get the following errors.

uWSGI:

相关标签:
1条回答
  • 2021-01-23 17:46

    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.

    0 讨论(0)
提交回复
热议问题