winerror 10053 python_Django ConnectionAbortedError:[WinError 10053]主机计算机中的软件中止了已建立的连接...
我在postgresql中使用django,每当我试图保存或删除任何内容时,都会出现以下错误-Traceback (most recent call last):
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 138, in run
self.finish_response()
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 180, in finish_response
self.write(data)
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 274, in write
self.send_headers()
Not Found: /favicon.ico
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 332, in send_headers
self.send_preamble()
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 255, in send_preamble
('Date: %s\r\n' % format_date_time(time.time())).encode('iso-8859-1')
[02/Aug/2016 18:30:14] "GET /favicon.ico HTTP/1.1" 404 2044
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 453, in _write
self.stdout.write(data)
File "c:\program files (x86)\python35-32\Lib\socket.py", line 593, in write
return self._sock.send(b)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine
[02/Aug/2016 18:30:14] "GET /api/delete/ HTTP/1.1" 500 59
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 1712)
Traceback (most recent call last):
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 138, in run
self.finish_response()
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 180, in finish_response
self.write(data)
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 274, in write
self.send_headers()
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 332, in send_headers
self.send_preamble()
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 255, in send_preamble
('Date: %s\r\n' % format_date_time(time.time())).encode('iso-8859-1')
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 453, in _write
self.stdout.write(data)
File "c:\program files (x86)\python35-32\Lib\socket.py", line 593, in write
return self._sock.send(b)
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 141, in run
self.handle_error()
File "C:\Users\sushant\Desktop\projects\drfapi\venv\lib\site-packages\django\core\servers\basehttp.py", line 92, in handle_error
super(ServerHandler, self).handle_error()
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 368, in handle_error
self.finish_response()
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 180, in finish_response
self.write(data)
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 274, in write
self.send_headers()
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 331, in send_headers
if not self.origin_server or self.client_is_modern():
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 344, in client_is_modern
return self.environ['SERVER_PROTOCOL'].upper() != 'HTTP/0.9'
TypeError: 'NoneType' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\program files (x86)\python35-32\Lib\socketserver.py", line 628, in process_request_thread
self.finish_request(request, client_address)
File "c:\program files (x86)\python35-32\Lib\socketserver.py", line 357, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Users\sushant\Desktop\projects\drfapi\venv\lib\site-packages\django\core\servers\basehttp.py", line 99, in __init__
super(WSGIRequestHandler, self).__init__(*args, **kwargs)
File "c:\program files (x86)\python35-32\Lib\socketserver.py", line 684, in __init__
self.handle()
File "C:\Users\sushant\Desktop\projects\drfapi\venv\lib\site-packages\django\core\servers\basehttp.py", line 179, in handle
handler.run(self.server.get_app())
File "c:\program files (x86)\python35-32\Lib\wsgiref\handlers.py", line 144, in run
self.close()
File "c:\program files (x86)\python35-32\Lib\wsgiref\simple_server.py", line 35, in close
self.status.split(' ',1)[0], self.bytes_sent
AttributeError: 'NoneType' object has no attribute 'split'
----------------------------------------
当数据库save\delete命令出现时,它会执行两次,第一次没有错误,第二次抛出此错误,因此save会执行两次。
据我所知,有些程序正在阻止它(正如错误所说的那样),所以我删除了我所拥有的反病毒程序,但没有任何结论。
有人知道这是怎么回事吗?
编辑:这是一个Python错误,已报告here
winerror 10053 python_Django ConnectionAbortedError:[WinError 10053]主机计算机中的软件中止了已建立的连接...相关推荐
- 使用selenium 驱动最新火狐浏览器出错:ConnectionAbortedError: [WinError 10053] 你的主机中的软件中止了一个已建立的连接。...
今天改selenium的脚本希望他兼容火狐浏览器,但是一直报一个错 ConnectionAbortedError: [WinError 10053] 你的主机中的软件中止了一个已建立的连接. sele ...
- python 10053_python 写的selenium脚本不能循环,循环时会报 [WinError 10053] 你的主机中的软件中止了一个已建立的连接。错误,求大佬解答下...
用python写了一段自动化脚本,在循环的时候报ConnectionAbortedError: [WinError 10053] 你的主机中的软件中止了一个已建立的连接.错误,第一次执行没有问题,就是 ...
- 令人头秃的:你的主机中的软件中止了一个已建立的连接
此文章来源于项目官方公众号:"AirtestProject" 版权声明:允许转载,但转载必须保留原链接:请勿用作商业或者非法用途 1. 前言 最近在答疑群中,经常看到同学们遇到 你 ...
- AndroidStudio_你的主机中的软件中止了一个已建立的连接---Android原生开发工作笔记123
你的主机中的软件中止了一个已建立的连接,如果你也在把android 的app,运行在物理机的时候报这个错,我去...来看看吧 查了很多,网上的...最后发现,只要你是win10操作系统,你把 移动WI ...
- java.io.IOException: 你的主机中的软件中止了一个已建立的连接。
Could not complete request org.apache.catalina.connector.ClientAbortException: java.io.IOException: ...
- java.io.IOException: 您的主机中的软件中止了一个已建立的连接。
日志如下,背景是开了几百给连接同时向服务器发送消息,跑了一两天报的错,服务器那边没有报错,是放在tomcat里运行的,但是重新启动客户端无法连接服务器了 ,服务器貌似停了.请问一下是什么原因 是服务器 ...
- 您的主机中的软件中止了一个已建立的连接。
本文转载自: https://www.cnblogs.com/mistor/archive/2012/02/16/2353742.html 作者:mistor 转载请注明该声明. 我这个错误是ASP. ...
- 迅雷之坑:java.io.IOException: 你的主机中的软件中止了一个已建立的连接
废话不多说,直入主题.记录的原因是: 控制台抛错,java.io.IOException: 你的主机中的软件中止了一个已建立的连接. 并不是网上说的什么tomcat超时之类的,就是请求发了两次,但是他 ...
- java.io.ioexception: 你,java.io.IOException: 你的主机中的软件中止了一个已建立的连接。...
1.异常表现:我在jsp文件中有一个 表单,里面有一个保存事件按钮.保存 onclick的js函数里我是用ajax提交的数据,用于局部刷新页面. 2.问题原因:在Internet Explorer 的 ...
最新文章
- Editplus下载、安装并最佳配色方案(强烈推荐)
- USANavyElectronicsCourse-Excerlent
- shiro放行_Shiro框架详解 tagline
- 岗位推荐 | 京东AI研究院招聘计算机视觉算法实习生
- 征战蓝桥 —— 2014年第五届 —— C/C++A组第1题——猜年龄
- leetcode690. 员工的重要性(bfs)
- Tomcat详解(五)——jforum论坛部署实战
- 御剑情缘服务器维护吗,御剑情缘常见问题 解决方法分享
- html支付宝图标,支付宝小程序基础组件 图标·Icon
- 2014手游渠道分成比例汇总
- 湖北为何迷失在中国互联网版图 应“引凤归巢”
- HDUOJ 6806 Equal Sentences
- C语言计算日期间隔天数的经典算法解析
- vue通过for循环生成的checkbox点击一个选中全部的问题
- 【matplotlib】散点图详解
- oracle通信通道的文件结尾_如何解决ORA-03113: 通信通道的文件结尾?
- ei eo eq什么意思_软件功能点估算
- S7-300哪些24V数字量输入模块需要电源,与电源如何连接
- 接天莲叶无穷碧,映日荷花别样红 1
- DeepHuman:从单一图像中3D人体重建
热门文章
- ipfs Dark web 访问
- echarts实现带光圈的环形图
- 安卓玩机搞机技巧综合资源------如何提取手机分区 小米机型代码分享等等 【一】
- logrotate按天滚动nginx日志
- 视频教程-物联网之java实现(springboot + netty + 心跳,附完整源码)-Java
- 从头开始设置Manjaro Linux
- excel图表技巧:如何应用占位改变分布美化图表
- 广东省计算机一级网络题分值,计算机一级各题分值 [Office操作题自动评分的分析与实现]...
- 友链依旧重要:移动互联网背后的SEO优化技巧
- Linux网络摄像头设备端调试过程