- 积分
- 211
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-5-26
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
Downloading fnl_20200903_00_00.grib2
4.091 % Completed
8.182 % CompletedTraceback (most recent call last):
File "C:\Users\Lvdeji\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\response.py", line 436, in _error_catcher
yield
File "C:\Users\Lvdeji\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\response.py", line 518, in read
data = self._fp.read(amt) if not fp_closed else b""
File "C:\Users\Lvdeji\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 454, in read
n = self.readinto(b)
File "C:\Users\Lvdeji\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 498, in readinto
n = self.fp.readinto(b)
File "C:\Users\Lvdeji\AppData\Local\Programs\Python\Python38\lib\socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "C:\Users\Lvdeji\AppData\Local\Programs\Python\Python38\lib\ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "C:\Users\Lvdeji\AppData\Local\Programs\Python\Python38\lib\ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
ConnectionAbortedError: [WinError 10053] 您的主机中的软件中止了一个已建立的连接。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Lvdeji\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\models.py", line 751, in generate
for chunk in self.raw.stream(chunk_size, decode_content=True):
File "C:\Users\Lvdeji\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\response.py", line 575, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "C:\Users\Lvdeji\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\response.py", line 540, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "C:\Users\Lvdeji\AppData\Local\Programs\Python\Python38\lib\contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "C:\Users\Lvdeji\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\response.py", line 454, in _error_catcher
raise ProtocolError("Connection broken: %r" % e, e)
urllib3.exceptions.ProtocolError: ("Connection broken: ConnectionAbortedError(10053, '您的主机中的软件中止了一个已建立的连接。', None, 10053, None)", ConnectionAbortedError(10053, '您的主机中的软件中止了一个已建立的连接。', None, 10053, None))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Lvdeji\项目\python_work\ncepdownload.py", line 68, in <module>
for chunk in req.iter_content(chunk_size=chunk_size):
File "C:\Users\Lvdeji\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\models.py", line 754, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ("Connection broken: ConnectionAbortedError(10053, '您的主机中的软件中止了一个已建立的连接。', None, 10053, None)", ConnectionAbortedError(10053, '您的主机中的软件中止了一个已建立的连接。', None, 10053, None))
|
|