dglinux / issues

镜像请求……等
2 stars 1 forks source link

下载会被中断 #22

Closed cherinyy closed 4 years ago

cherinyy commented 4 years ago

https://mirrors.dgut.edu.cn/ubuntu-releases/focal/ubuntu-20.04.1-desktop-amd64.iso 为例:

D:\>curl -C - https://mirrors.dgut.edu.cn/ubuntu-releases/focal/ubuntu-20.04.1-desktop-amd64.iso --output ubuntu-20.04.1-desktop-amd64.iso
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 39 2656M   39 1039M    0     0  10.9M      0  0:04:02  0:01:34  0:02:28 10.9M
curl: (18) transfer closed with 1694985232 bytes remaining to read

D:\>curl -C - https://mirrors.dgut.edu.cn/ubuntu-releases/focal/ubuntu-20.04.1-desktop-amd64.iso --output ubuntu-20.04.1-desktop-amd64.iso
** Resuming transfer from byte position 1090032624
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 64 1616M   64 1042M    0     0  9312k      0  0:02:57  0:01:54  0:01:03 9463k
curl: (18) transfer closed with 601815016 bytes remaining to read

D:\>curl -C - https://mirrors.dgut.edu.cn/ubuntu-releases/focal/ubuntu-20.04.1-desktop-amd64.iso --output ubuntu-20.04.1-desktop-amd64.iso
** Resuming transfer from byte position 2183202840
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  573M  100  573M    0     0  9161k      0  0:01:04  0:01:04 --:--:--  9.9M

D:\>curl -V
curl 7.72.0 (x86_64-pc-win32) libcurl/7.72.0 OpenSSL/1.1.1g (Schannel) zlib/1.2.11 brotli/1.0.9 zstd/1.4.5 WinIDN libssh2/1.9.0 nghttp2/1.41.0
Release-Date: 2020-08-19
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile MultiSSL NTLM SPNEGO SSL SSPI TLS-SRP Unicode UnixSockets brotli libz zstd

D:\>curl https://myip.ipip.net
当前 IP:183.24.58.22  来自于:中国 广东 广州  电信

通过路由追踪测试后发现,连接 mirrors.dgut.edu.cn 是通过我校 CERNET 网络,并非中国电信。 正确的 IP 应当为 42.247.46.244

AnyMoe commented 4 years ago

Is the problem only found in ubuntu-releases? Or you also met this problem with other repo.

cherinyy commented 4 years ago

Is the problem only found in ubuntu-releases? Or you also met this problem with other repo.

同样出现在其他源,例如 CentOS,另外我不认为需要使用英语来交流。

lyekumchew commented 4 years ago

目前来看,从电信过去是没啥问题的,教育网暂时还没环境测试。 image

更新: 找朋友(广东联通)测试了一下,windows 下的 curl 复现出来了,wsl1 下的 curl 也不正常,使用 wsl2 则正常,都测试过最新版本。 wsl2 正常的 curl 版本信息 image

最后在 windows powershell 下使用 wget 正常。 image

cherinyy commented 4 years ago

@lyekumchew 跟工具没什么关系,我是昨天在宿舍(电信)使用 Chrome 下载的时候,一直遇到“网络错误”,然后下载中断,前天在梅州(电信)也下载过,均是如此。

lyekumchew commented 4 years ago

已修复