Hi ProGet team,
Thanks for adding support to override the Docker API URL. However, during my testing, it doesn’t seem to work as expected.
For Docker images with long paths, based on the logs, it appears that the requested URL path is truncated. I’m not sure if this is just a visual effect in the logs or if the actual request is being truncated. For example, the URL should be:
https://nexus-registry.example/v2/my-example/subgroup/container/project/subname/image/manifests/stable
but the log shows:
https://nexus-registry.example/v2/group/container/project/subname/image/manifests/stable
and it returns a 404, even though I can access the original URL directly in the browser.
Furthermore, with shorter image paths, e.g.:
https://nexus-registry.example/v2/python/manifests/3.11.2-bullseye
I don’t see the request in the log, and it fails with the following error message:
Error: Unhandled exception: System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex')
at System.String.ThrowSubstringArgumentOutOfRange(Int32 startIndex, Int32 length)
at System.String.Substring(Int32 startIndex, Int32 length)
I would appreciate any guidance on this matter.
Thank you for your support!