Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Force uploading existing Conan package fails with 404 errors (ProGet 2025)



  • Hi team,

    We're encountering a problem with the conan upload command to our ProGet (2025) Conan remote.

    When we try to force re-upload an existing package using --force, we receive a several of 404 Client Error messages from ProGet when uploading files like conan_export.tgz, conan_sources.tgz, and conanfile.py. The command gives us a ConanException.

    So we see that ProGet reports that the package already exists (in the server so forcing an upload):

    boost/1.88.0: Recipe 'boost/1.88.0#b471bc5106b868d250cc39fec7411f2e' already in server, forcing upload
    ...
    boost/1.88.0: Package 'boost/1.88.0#b471bc5106b868d250cc39fec7411f2e:da39a3ee5e6b4b0d3255bfef95601890afd80709#a7577c828425a7737edc52feef1817ca' already in server, forcing upload
    
    

    However, Conan fails to upload as ProGet returns 404 errors on the expected v2 file endpoints:

    HttpRequest: put: https://proget.ccdc.cam.ac.uk/conan/ccdc-3rdparty-conan/v2/conans/boost/1.88.0/_/_/revisions/.../files/conan_export.tgz
    WARN: network: 404 Client Error: Not Found
    ...
    ERROR: Error uploading file: conan_export.tgz, '404 Client Error: Not Found'
    
    

    This is using the --force flag which should allow for overwriting files?

    It might be the case that ProGet might be internally inconsistent? It knows about the recipe revision but the actual file blobs is missing, or is blocking us from overwriting with the uploads.

    There is the possibility that it could be due to an earlier corrupted/incomplete upload, so could you confirm if ProGet should allow overwrites via Conan --force? Also, is there a known issue exists where metadata is present but backing files are missing? Finally, is there a cleanup or repair process available on ProGet to fix recipe in these broken states?

    Let me know if you need more details/logs.

    Thanks,
    Manish


  • inedo-engineer

    Hi @mmaharjan_0067 ,

    We'll investigate and see about adding this via PG-3035; it's probably returning some unexpected status. Will update if we run into trouble!

    -- Dean


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation