|
发表于 2022-12-9 20:09:58
|
显示全部楼层
等一会,发生了什么
- Traceback (most recent call last):
- File "D:\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
- httplib_response = self._make_request(
- File "D:\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request
- six.raise_from(e, None)
- File "<string>", line 3, in raise_from
- File "D:\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request
- httplib_response = conn.getresponse()
- File "D:\Python\Python310\lib\http\client.py", line 1374, in getresponse
- response.begin()
- File "D:\Python\Python310\lib\http\client.py", line 318, in begin
- version, status, reason = self._read_status()
- File "D:\Python\Python310\lib\http\client.py", line 279, in _read_status
- line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
- File "D:\Python\Python310\lib\socket.py", line 705, in readinto
- return self._sock.recv_into(b)
- ConnectionResetError: [WinError 10054] 远程主机强迫关闭了一个现有的连接。
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "D:\Python\Python310\lib\site-packages\requests\adapters.py", line 489, in send
- resp = conn.urlopen(
- File "D:\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
- retries = retries.increment(
- File "D:\Python\Python310\lib\site-packages\urllib3\util\retry.py", line 550, in increment
- raise six.reraise(type(error), error, _stacktrace)
- File "D:\Python\Python310\lib\site-packages\urllib3\packages\six.py", line 769, in reraise
- raise value.with_traceback(tb)
- File "D:\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
- httplib_response = self._make_request(
- File "D:\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request
- six.raise_from(e, None)
- File "<string>", line 3, in raise_from
- File "D:\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request
- httplib_response = conn.getresponse()
- File "D:\Python\Python310\lib\http\client.py", line 1374, in getresponse
- response.begin()
- File "D:\Python\Python310\lib\http\client.py", line 318, in begin
- version, status, reason = self._read_status()
- File "D:\Python\Python310\lib\http\client.py", line 279, in _read_status
- line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
- File "D:\Python\Python310\lib\socket.py", line 705, in readinto
- return self._sock.recv_into(b)
- urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "D:\360极速浏览器X下载\version_to_fishc\version_to_fishc\Interface.py", line 265, in <module>
- FindNovelList()
- File "D:\360极速浏览器X下载\version_to_fishc\version_to_fishc\find_novel_list.py", line 11, in FindNovelList
- response = requests.get(url, headers=headers)
- File "D:\Python\Python310\lib\site-packages\requests\api.py", line 73, in get
- return request("get", url, params=params, **kwargs)
- File "D:\Python\Python310\lib\site-packages\requests\api.py", line 59, in request
- return session.request(method=method, url=url, **kwargs)
- File "D:\Python\Python310\lib\site-packages\requests\sessions.py", line 587, in request
- resp = self.send(prep, **send_kwargs)
- File "D:\Python\Python310\lib\site-packages\requests\sessions.py", line 701, in send
- r = adapter.send(request, **kwargs)
- File "D:\Python\Python310\lib\site-packages\requests\adapters.py", line 547, in send
- raise ConnectionError(err, request=request)
- requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))
复制代码 |
|