Django Broken pipe in Debug mode

前端 未结 8 1100
灰色年华
灰色年华 2020-11-28 23:45

I have django 1.3 on the remote server behind Nginx.

If I run django with apache + mod_wsgi, I can watch errors in apache log files. It\'s ok but I\'d like to have

8条回答
  •  清酒与你
    2020-11-29 00:10

    This isn't really an issue with your site, more with the Django devserver: see this Django ticket. To put it bluntly, just ignore it as it is a known error, and won't be fixed.

    In that ticket's comments a quite clear explanation is given:

    According to many sources the 'Broken Pipe' is a normal browser quirk. For example, the browser reads from the socket and then decides that the image it's been reading apparently didn't change. The browser now this (forcefully) closes the connection because it does not need more data. The other end of this socket (the python runserver) now raises a socket exception telling the program that the client 'Broke the socket pipe'.

提交回复
热议问题