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
-
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.
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.
-
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
-
@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.
-
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
-
@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.
-
@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 :)