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

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

问题描述

  Traceback(最近一次调用最后一次):
在_handle_request_noblock
self.process_request(request,client_address)
文件C:\Python27\lib\SocketServer.py,行284,在文件C:\Python27\ lib_\\SocketServer.py,第310行,在process_request
self.finish_request(request,client_address)
文件C:\Python27\lib\SocketServer.py,第323行,in finish_request
self.RequestHandlerClass(request,client_address,self)
在__init__
文件C:\Python27\lib\SocketServer.py中,640行self.finish()
文件C:\Python27\lib\SocketServer.py,行693,完成
self.wfile.flush()
文件C:\Python27\清空
self._sock.sendall(view [write_offset:write_offset + buffer_size])
错误:[Errno 10053] 任何想法,为什么会发生这种情况(win8 x64,python27,bb,b,b,b,b,b,b,b,b, X32)?

解决方案


> WSAECONNABORTED 10053

软件导致连接中止。

建立的连接被主机软件中止,可能是由于数据传输时间太长, out或协议错误。

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

它可能是远程浏览器停止响应,网络连接死亡或防火墙关闭连接,因为它打开时间过长,或任何其他数量的原因。

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

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

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

From the Windows Sockets Error Codes list:

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.

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.

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

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