Need to configure Sonatype Nexus has a proxy (format yum / proxy) to Google Artifact Registry for RPM. For the authentication on Google used the an service account and on the configuration for the user put Username =_json_key and on the Password the content of the SA. When I tried to access the GAR using Nexus has a proxy I got this error. Is there any configurations that is missing ?
[root@infra-dev-server-tmarques ~]# yum list
Google64 1.2 kB/s | 1.5 kB 00:01
Errors during downloading metadata for repository ‘google64’:
On the logs file I have the same information that I provided, status code 404, no clues about the error. Can you give an example of the configuration that needs to be done on Sonatype to compare with what I done ?
Perhaps the configuration of the repository doesn’t have the correct URL for proxying. I believe for Yum that the request paths directly map onto the remote.
i.e. http://10.112.14.144:8081/repository/alb-yum-proxy-google_base64/repodata/repomd.xml would map to https://host/path/repodata/repomd.xml
Hi, can you provide a sample configuration (printscreen) of you have configured on the Nexus application and a sample of the /etc/yum.repos.d/ file ? we have tried several configuration and no one works.