Skip to content

Download fails after 3 chunks of 1024Mb each #345

@rhcpfan

Description

@rhcpfan

Here's the output when trying to download 11 GM Seed (it happened with other versions too)

➜  MyIOSApp xcversion install '11 GM Seed'
100   321  100   321    0     0    408      0 --:--:-- --:--:-- --:--:--   408%
100   305  100   305    0     0    291      0  0:00:01  0:00:01 --:--:--  297k
100   305  100   305    0     0    291      0  0:00:01  0:00:01 --:--:--  297k
 14 7311M   14 1024M    0     0  2671k      0  0:46:42  0:06:32  0:40:10 4049k%
curl: (18) transfer closed with 6592924889 bytes remaining to read
100   321  100   321    0     0    414      0 --:--:-- --:--:-- --:--:--   414%
 16 6287M   16 1024M    0     0  2987k      0  0:35:55  0:05:50  0:30:05 4125k%
curl: (18) transfer closed with 5519183065 bytes remaining to read
100   321  100   321    0     0    899      0 --:--:-- --:--:-- --:--:--   899
100   305  100   305    0     0    497      0 --:--:-- --:--:-- --:--:--   497
 19 5263M   19 1024M    0     0  2853k      0  0:31:28  0:06:07  0:25:21 3204k%
curl: (18) transfer closed with 4445441241 bytes remaining to read
%[!] Failed to download Xcode 11 GM Seed.

If I run the same command again, it resumes the download. I have to run it 3-4 times depending on the download size. After the download is complete, the installation runs as expected.

➜  MyIOSApp which curl
/usr/bin/curl
➜  MyIOSApp /usr/bin/curl --version
curl 7.54.0 (x86_64-apple-darwin18.0) libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz HTTP2 UnixSockets HTTPS-proxy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions