conan: [bug] Conan with Artifactory fails to download large packages

Hello All,

Potentially related to issues: #1901 #3580 #6995

We recently migrated our Conan Server from the Conan provided server to Artifactory’s Server and we are having issues downloading very large packages (~2.6Gigs). Since we did not have this issue before, it is safe to assume that this issue comes from the change in Server (Server’s fault, or Conan/Server not interfacing properly).

When performing a conan install about 1Gig (38%) of the file gets installed, it then instantly completes the installation and errors out with the following error (repeating):

Downloading conanmanifest.txt completed [10.94k]                                         
Downloading conaninfo.txt completed [0.15k]                                              
Downloading conan_package.tgz completed [1067783.34k]                                    
ERROR: Download failed, check server, possibly try again
Download failed, check server, possibly try again
Error in resumed download from <server_url>
Incorrect Content-Range header 
Waiting 0 seconds to retry...
Downloading conan_package.tgz completed [1067815.34k]                                    
ERROR: Download failed, check server, possibly try again
Download failed, check server, possibly try again
Error in resumed download from <server_url>
Incorrect Content-Range header 
Waiting 0 seconds to retry...

Environment Details (include every applicable attribute)

  • Operating System+version: RHEL7/Ubuntu Bionic
  • Conan version: 1.28.0
  • Python version: python3.6.8
  • Artifactory Server Type: Community
  • Artifactory Server Version: 7.5.7
  • Proxy: Network is proxied but we shouldn’t be using it b/c we are all on the same subnet
  • Issue occurs with SSL: True and SSL: False

Steps to reproduce

conan install <package greater than 2.5 gigs on a slow network: (0.800ms ping / 90Mbits/sec throughput)>

logs:

conan_trace.txt

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 20 (6 by maintainers)

Most upvoted comments

@franramirez688 Thanks for looking into this again. Indeed it is not about the Conan Center Index but we are using the jfrog cpp-ce docker setup on out own server with nginx as proxy.

I’ll double check the options. For the moment we are advising the user with the slow connection to install manually (via another fast machine) so we do have a workaround.