wxBot icon indicating copy to clipboard operation
wxBot copied to clipboard

Connection aborted 错误

Open zhangxb1989 opened this issue 8 years ago • 0 comments

接上图灵机器人整体运行没问题,就是后台回复一条消息就报一个connection aborted的错误,不太懂是什么原因,求大神指导(PS, Macbook环境下)

'Connection aborted.', BadStatusLine('HTTP/1.1 0 -\r\n',)) Traceback (most recent call last): File "/Users/allen/Desktop/wxBot/wxbot.py", line 55, in request allow_redirects, proxies, hooks, stream, verify, cert, json) File "/Library/Python/2.7/site-packages/requests/sessions.py", line 488, in request resp = self.send(prep, **send_kwargs) File "/Library/Python/2.7/site-packages/requests/sessions.py", line 609, in send r = adapter.send(request, **kwargs) File "/Library/Python/2.7/site-packages/requests/adapters.py", line 473, in send raise ConnectionError(err, request=request) ConnectionError: ('Connection aborted.', BadStatusLine('HTTP/1.1 0 -\r\n',))

zhangxb1989 avatar May 07 '17 06:05 zhangxb1989