We have installed the Nexus Repository Manager operator in Openshift platform. The nexus instance is running. We are able to upload the jar files and use it.
But the jar files from the central repo is not getting stored. In the nexus container terminal, i tried to curl Central Repository:, but it is saying host not resolved. We are behind the firewall.
Please let me know what can i do to resolve this issue. We want to store the jar files on nexus instead of going to maven repo all the time.
Thank you for getting back. And sorry for responding late.
I went back to the team and worked on fixing the issue. Now I am able to resolve the repo url from inside the pod after adding the proxy. Pls find the below log.
Also I can see the below error in the pod log as well.
2022-08-10 06:11:08,409+0000 INFO [qtp2094591115-441] *UNKNOWN org.sonatype.nexus.repository.httpclient.internal.HttpClientFacetImpl - Repository status for maven-central changed from READY to UNAVAILABLE - reason java.net.UnknownHostException: repo1.maven.org: Name or service not known for https://repo1.maven.org
2022-08-10 06:11:08,415+0000 WARN [qtp2094591115-441] *UNKNOWN org.sonatype.nexus.repository.maven.internal.orient.MavenProxyFacet - Exception java.net.UnknownHostException: repo1.maven.org: Name or service not known checking remote for update, proxy repo maven-central failed to fetch org/springframework/boot/spring-boot-starter-parent/2.5.0/spring-boot-starter-parent-2.5.0.pom, content not in cache.
I am not able to upload files, as a new user. So tried to provide logs as much possible.
Currently we are using Nexus Repository Operator(3.38.1-1 provided by Sonatype).
I really appreciate taking time to look at the issue.