Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 8 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      misael.esperanzate_5668
      last edited by

      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.

      stevedennisS 1 Reply Last reply Reply Quote 0
      • stevedennisS Offline
        stevedennis inedo-engineer @misael.esperanzate_5668
        last edited by

        Hi @misael-esperanzate_5668,

        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-indexer

        This 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

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation