Hi,
I am trying to set up a Nexus Proxy Repo to another company’s proxy service in replicated
They have provided the image and license id
I was wondering how to do this
I have tried using proxy.replicated.com as the remote storage url, however, it returns unauthorized (providing license id as username and password)
Thanks
Proxy only supports the pull protocol. It does not support authentication protocol without upstream information, so something like docker login
command is unsupported and will not work. Sonatype must also pass through unmodified image name in the scope when proxying the requests. If you can provide more technical information (commands, command output, logs, image names, etc) we can help troubleshoot this further.
Hi, sorry for the late reply
Sonatype Nexus performs a
GET proxy.replicated com/v2/proxy/app slug/image path/manifests/tag
and looks at the www-authenticate header to see how to retrieve the token
the above request returns a header without the scope
e.g. Bearer realm=“https://proxy.replicated.com/token”,service=“proxy.replicated.com”
I am wondering if this is an issue with Sonatype Nexus
If the Vendor provided a service account with read access, could registry.replicated.com be used?
registry.replicated.com
can only be used with images hosted in that registry
proxy.replicated.com
cannot be used to proxy images from registry.replicated.com
. This feature is not supported and not tested.
On Aug 13 we made a change that should make it possible to configure Nexus to proxy images from proxy.replicated.com
. Given that your setup satisfies the two conditions above, I would suggest that you try configuring Nexus again.