This is the way to test it ? because then i made a “sudo yum update” and i got:
failure: repodata/repomd.xml from CentosRepo: [Errno 256] No more mirrors to try.
http://<IP_OF_NEXUS>:8081/repository/CentosRepo/repodata/repomd.xml: [Errno 14] HTTP Error 500 - Internal Server Error
Hello, sorry for this old response. First issue was that i didnt have RHEL registered. I made it and then i try again, I made a repo called “PEPO” Then i add it in yum repo into the same VM when Nexus is running :
I made a “yum update” and says:
http://<IP_NEXUS>:8081/repository/PEPO/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
Trying other mirror.
One of the configured repositories failed (PEPO),.......
Status in NEXUS in PEPO repo : “Online - Remote Unavailable . Internal Server Error” LOG in NEXUS:
2022-12-01 09:27:02,915+0000 INFO [qtp601217775-606] admin org.sonatype.nexus.repository.manager.internal.RepositoryManagerImpl - Updating repository: PEPO -> OrientConfiguration{repositoryName='PEPO', recipeName='yum-proxy', attributes={yumSigning={keypair=, passphrase=}, proxy={remoteUrl=http://<REMOTE_IP_REPO>/yum/, contentMaxAge=1440.0, metadataMaxAge=1440.0}, httpclient={blocked=false, autoBlock=false, connection={userAgentSuffix=, retries=null, timeout=20.0, enableCircularRedirects=false, enableCookies=false}}, storage={blobStoreName=default, strictContentTypeValidation=true}, negativeCache={enabled=true, timeToLive=1440.0}}}
2022-12-01 09:27:02,922+0000 INFO [qtp601217775-606] admin org.sonatype.nexus.repository.httpclient.internal.HttpClientFacetImpl - Remote connection status of repository PEPO set to Ready to Connect.
2022-12-01 09:27:11,201+0000 INFO [qtp601217775-614] *UNKNOWN org.sonatype.nexus.repository.httpclient.internal.HttpClientFacetImpl - Repository status for PEPO changed from READY to UNAVAILABLE - reason Internal Server Error for http://10.193.59.206
2022-12-01 09:27:11,202+0000 WARN [qtp601217775-614] *UNKNOWN org.sonatype.nexus.repository.yum.orient.internal.proxy.OrientYumProxyFacetImpl - Exception org.sonatype.nexus.repository.proxy.ProxyServiceException: HTTP/1.1 500 Internal Server Error checking remote for update, proxy repo PEPO failed to fetch repodata/repomd.xml with status line HTTP/1.1 500 Internal Server Error, content not in cache.
2022-12-01 09:27:11,210+0000 WARN [qtp601217775-581] *UNKNOWN org.sonatype.nexus.repository.yum.orient.internal.proxy.OrientYumProxyFacetImpl - Exception org.sonatype.nexus.repository.proxy.ProxyServiceException: HTTP/1.1 500 Internal Server Error checking remote for update, proxy repo PEPO failed to fetch repodata/repomd.xml with status line HTTP/1.1 500 Internal Server Error, content not in cache.
Just mention that i can do “ping <REMOTE_IP_REPO>”