Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Import Artifacts from Artifactory 404 Error
-
When I am creating a new maven2 feed and add artifacts from Artifactory I get an error shown below:
Unhandled exception: System.Net.WebException: The remote server returned an error: (404) .
I did some digging and I pinpointed the main issue which was that the repository I was importing from did not have
./index/nexus-maven-repository-index.gz
.My question now, is it possible to bypass that error? It's not only that repository but I also want to create connectors to remote repositories but some of the endpoint urls also don't have that repository index.
-
Currently, ProGet uses the
nexus-maven-repository-index.gz
file to see what artifacts are in a Maven repository, and then downloads the files based on that. So you'll need to enable that index file by doing this, I think:
https://jfrog.com/help/r/jfrog-artifactory-documentation/maven-indexerThis only applies to Maven indexes, and that file is only used for importing/downloading a feed into ProGet. For other feed types, a different API is used.
Good news --- in an upcoming maintenance release of ProGet, we will be shifting to use the Artifactory API directly to import artifacts from a repository.
Thanks,
Steve