在虚拟机里重新配了环境之后报的错,我的程序在上周五的时候还可以正常运行,周末开始突然出现文件上传模块和文件列表都加载不出来的问题。
源代码:git上的:https://github.com/greyli/fla...
大家讲道理2017-04-18 10:28:58
The reasons are given here
Let me translate:
This is a timeout or other network-level error. The operating system has closed the socket. It has nothing to do with Python or Flask.
It may be that the remote browser has stopped responding, the network connection has been killed, or the firewall is closed. The link dropped because the connection took too long to open, or for some other reason
Some people say it is a problem with the module implemented in Python 2SocketServer
, but this problem no longer exists in Python 3, so why not change to Python 3 and take a look
Or turn off the firewall or anti-virus software and take a look