Broken pipe error in Flask server
I am using Flask for some of my internal services. If you haven't used Flask , I would absolutely recommend that you check it out. Recently I got the following error while I was attempting to serve a page from template. In an attempt to troubleshoot the error, I wasted almost half an hour. 127.0.0.1 - - [19/Jun/2012 17:48:37] "POST /" 500 - ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 55176) Traceback (most recent call last): File "/usr/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python2.7/SocketServer.py", line 310, in process_request self.finish_request(request, client_address) File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python2.7/SocketServer.py", line 64...