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!

    Proget maven connector health check error

    Scheduled Pinned Locked Moved Support
    6 Posts 2 Posters 22 Views 1 Watching
    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.
    • G Offline
      grant.sparks_1282
      last edited by

      My connector to maven.org simply won't work. I can see the following error in the log. Connector maven.org health check reported error: Object reference not set to an instance of an object.

      d5618ecd-5916-4470-8fab-5f3aab191d15-image.png

      The connector's configuration is as simple as it gets. Not sure what else to try? This is the final remaining thing I need to get working in the trial version before we purchase ProGet next week.

      550ca2c8-5b75-4b35-beed-f036d3a4182a-image.png

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @grant.sparks_1282
        last edited by

        Hi @grant-sparks_1282 ,

        That's odd... real simple set-up, and I just tested on my end to be double-sure. Looking at the codes, I can't see how he would throw that error either...

        What version of ProGet are you using (please see bottom right corner), and how is it installed (LInux/Docker or Windows)?

        Thanks,
        Alana

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          grant.sparks_1282 @atripp
          last edited by

          @atripp The error appears to have stopped happening for the maven.org connector, however I'm still getting it for the connector to the google maven repo. Their feed url is https://dl.google.com/dl/android/maven2/

          It appears to be able to connect to that repo and download packages even though the health check is failing, so its unclear whether the health check failure is actually causing any problems.

          We're using ProGet Version 5.3.36 (Build 4)

          I've got a different error though now that I'll open in a new thread because it seems unrelated to this one.

          atrippA 1 Reply Last reply Reply Quote 0
          • atrippA Offline
            atripp inedo-engineer @grant.sparks_1282
            last edited by

            Hi @grant-sparks_1282

            Maven Connectors work by downloading a file called /.index/nexus-maven-repository-index.gz from the repository. It's weird, but I guess Google's repository doesn't have such an index?

            https://dl.google.com/dl/android/maven2/.index/nexus-maven-repository-index.gz

            I didn't know that repositories didn't have those... but you can confirm this is indeed the error under Admin > Scheduled Jobs > FullMavenConnectorIndex > History --- Can you confirm, and see it?

            I guess it's not a problem, if you can still download artifacts. But without an index, you can't search then...

            Thanks,
            Alana

            G 1 Reply Last reply Reply Quote 0
            • G Offline
              grant.sparks_1282 @atripp
              last edited by

              @atripp yes that appears to be the cause of the error. It doesn't seem to prevent us from downloading packages so perhaps it is just seaching that won't be available.

              DEBUG: 2021-08-27 04:36:35Z - Downloading repository index from https://maven.google.com/.index/nexus-maven-repository-index.gz
              DEBUG: 2021-08-27 04:36:35Z - Local index path is /var/proget/packages/.maven2/C8
              ERROR: 2021-08-27 04:36:37Z - Unable to download repository index: The remote server returned an error: (404) Not Found.

              atrippA 1 Reply Last reply Reply Quote 0
              • atrippA Offline
                atripp inedo-engineer @grant.sparks_1282
                last edited by

                @grant-sparks_1282 I'm surprised there's no index, but I guess that's a property popular repository, so we can make ProGet not error in this case.

                i logged PG-2007 to handle this :)

                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