Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zip文件下载问题(jobs查看到状态Error,进度0.0%) #72

Open
Mia-Dan opened this issue Apr 6, 2022 · 0 comments
Open

zip文件下载问题(jobs查看到状态Error,进度0.0%) #72

Mia-Dan opened this issue Apr 6, 2022 · 0 comments

Comments

@Mia-Dan
Copy link

Mia-Dan commented Apr 6, 2022

下载.zip文件失败(刚输入下载,jobs就查看到状态Error,进度0.0%),见(1),
把后缀.zip删除(重新从另一台机器上传),下载会进入Running但马上报错,见(2),
下载文件夹失败(刚输入下载,jobs就查看到状态Error,进度0.0%,报错socket.timeout: The read operation timed out),下载了空文件夹,
但是文件 “欢迎使用天翼云.pdf” 是能成功下载的。

(1)

全部文件 > ls
同步盘  我的图片  我的音乐  我的视频  我的文档  我的应用  ...  代码  来自家庭共享  云计算实验记录.zip  代码.zip  欢迎使用天翼云.pdf  畅享云邮,天翼带您体验云端精彩.jpg  
全部文件 > down 代码.zip
任务已完成, PID 0, 重新下载吗?(y) y
开始下载, 输入 jobs 查看下载进度...
全部文件 > jobs
----------------------------------------------------------------------------------------------------
[0] Status: Error    | Process:     0.0% | Download: 全部文件/代码.zip
----------------------------------------------------------------------------------------------------

(2)

[3] Status: Running  | Process:     0.0% | Download: 全部文件/代码
----------------------------------------------------------------------------------------------------
全部文件 > Exception in thread Thread-8:
Traceback (most recent call last):
  File "/home/hadoop/anaconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 445, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/home/hadoop/anaconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 440, in _make_request
    httplib_response = conn.getresponse()
  File "/home/hadoop/anaconda3/lib/python3.9/http/client.py", line 1371, in getresponse
    response.begin()
  File "/home/hadoop/anaconda3/lib/python3.9/http/client.py", line 319, in begin
    version, status, reason = self._read_status()
  File "/home/hadoop/anaconda3/lib/python3.9/http/client.py", line 280, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/home/hadoop/anaconda3/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
  File "/home/hadoop/anaconda3/lib/python3.9/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
  File "/home/hadoop/anaconda3/lib/python3.9/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/hadoop/anaconda3/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/home/hadoop/anaconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/home/hadoop/anaconda3/lib/python3.9/site-packages/urllib3/util/retry.py", line 532, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/hadoop/anaconda3/lib/python3.9/site-packages/urllib3/packages/six.py", line 770, in reraise
    raise value
  File "/home/hadoop/anaconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/home/hadoop/anaconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 447, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/home/hadoop/anaconda3/lib/python3.9/site-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='cloud.189.cn', port=443): Read timed out. (read timeout=15)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/hadoop/Desktop/cloud189/cloud189/api/core.py", line 63, in _get
    return self._session.get(url, verify=False, **kwargs)
  File "/home/hadoop/anaconda3/lib/python3.9/site-packages/requests/sessions.py", line 555, in get
    return self.request('GET', url, **kwargs)
  File "/home/hadoop/anaconda3/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/hadoop/anaconda3/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/hadoop/anaconda3/lib/python3.9/site-packages/requests/adapters.py", line 529, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='cloud.189.cn', port=443): Read timed out. (read timeout=15)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/hadoop/anaconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant