python - 一个Flask Web应用报了一个error: [Errno 10053]错,求解决。
问题描述
Exception happened during processing of request from (’171.88.81.70’, 27450)Traceback (most recent call last): File 'C:Python27libSocketServer.py', line 596, in process_request_thread self.finish_request(request, client_address) File 'C:Python27libSocketServer.py', line 331, in finish_request self.RequestHandlerClass(request, client_address, self) File 'C:Python27libSocketServer.py', line 654, in __init__ self.finish() File 'C:Python27libSocketServer.py', line 713, in finish self.wfile.close() File 'C:Python27libsocket.py', line 283, in close self.flush() File 'C:Python27libsocket.py', line 307, in flush self._sock.sendall(view[write_offset:write_offset+buffer_size])error: [Errno 10053]----------------------------------------
是不是Flask没有用WSGI的原因?
问题解答
回答1:你就不知道这种问题 Google 上有很多答案了吗?
简单来说就是,旧版本的 Flask + 旧版本的 Python + 不使用 WSGI 服务器的情况下的 bug。