错误:[错误 10053] [英] error: [Errno 10053]

查看:39
本文介绍了错误:[错误 10053]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在 Flask 上编码,那么我有时会收到这个错误:

If I am coding on Flask, then I sometimes get this error:

Traceback (most recent call last):
  File "C:Python27libSocketServer.py", line 284, in _handle_request_noblock
    self.process_request(request, client_address)
  File "C:Python27libSocketServer.py", line 310, in process_request
    self.finish_request(request, client_address)
  File "C:Python27libSocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "C:Python27libSocketServer.py", line 640, in __init__
    self.finish()
  File "C:Python27libSocketServer.py", line 693, in finish
    self.wfile.flush()
  File "C:Python27libsocket.py", line 303, in flush
    self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053] ��������� �� ����� ����-

任何想法为什么会发生这种情况(win8 x64、python27 x32)?

Any ideas why this would happen (win8 x64, python27 x32)?

推荐答案

来自 Windows Sockets错误代码列表:

WSAECONNABORTED 10053
软件导致连接中止.
已建立的连接被主机中的软件中止,可能是由于数据传输超时或协议错误.

WSAECONNABORTED 10053
Software caused connection abort.
An established connection was aborted by the software in your host computer, possibly due to a data transmission time-out or protocol error.

出现超时或其他网络级错误.这是你的操作系统关闭了套接字,与 Python 或 Flask 无关,真的.

There was a timeout or other network-level error. This is your operating system closing the socket, nothing to do with Python or Flask, really.

可能是远程浏览器停止响应、网络连接中断,或者防火墙因为连接打开时间过长而关闭了连接,或其他任何原因.

It could be the remote browser stopped responding, the network connection died, or a firewall closed the connection because it was open too long, or any other number of reasons.

这篇关于错误:[错误 10053]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆