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!

Maven feed for cache



  • Hi Support,

    We have a public Maven feed for which we cannot see the artefacts. We left it for 20 minutes, but it showed loading artefacts.

    4f1f88bc-4fa2-4d93-87b3-88ef5bd2c31e-image.png

    Regards Scott



  • We have an issue where Maven downloads from the public repository (https://repo1.maven.org/maven2) are taking forever. It is timing out.



  • We are also getting the following error when trying to access packages on the Feed

    An error occurred in the web application: Object reference not set to an instance of an object.
    
    URL: http://proget.wtg.zone/feeds/Maven/nekohtml/Neko HTML/1.9.6.2
    Referrer: https://proget.wtg.zone/packages?FeedId=3&Cache=cached&skip=0&take=1000
    User: SW
    User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0
    Stack trace: at Inedo.ProGet.Feeds.Maven.MavenFeed.Inedo.ProGet.Feeds.IBrowsablePackageFeed.ListPackageVersionsAsync(BrowsablePackageId id)
    at Inedo.ProGet.WebApplication.Pages.Packages.PackagePageBase.CreateChildControlsAsync()
    at Inedo.ProGet.WebApplication.Pages.ProGetSimplePage.InitializeAsync()
    at Inedo.Web.PageFree.SimplePageBase.ExecutePageLifeCycleAsync()
    at Inedo.Web.PageFree.SimplePageBase.ProcessRequestAsync(AhHttpContext context)
    at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context)
    


  • This is happening across all Maven feeds even private ones

    An error occurred in the web application: Object reference not set to an instance of an object.
    
    URL: http://proget.wtg.zone/feeds/Maven-WTG/com.cargowise.eservices/Maven Health Check API/1.0.0
    Referrer: https://proget.wtg.zone/packages?FeedId=20&Cache=all
    User: SW
    User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0
    Stack trace: at Inedo.ProGet.Feeds.Maven.MavenFeed.Inedo.ProGet.Feeds.IBrowsablePackageFeed.ListPackageVersionsAsync(BrowsablePackageId id)
    at Inedo.ProGet.WebApplication.Pages.Packages.PackagePageBase.CreateChildControlsAsync()
    at Inedo.ProGet.WebApplication.Pages.ProGetSimplePage.InitializeAsync()
    at Inedo.Web.PageFree.SimplePageBase.ExecutePageLifeCycleAsync()
    at Inedo.Web.PageFree.SimplePageBase.ProcessRequestAsync(AhHttpContext context)
    at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context)
    


  • We are running ProGet 2023.31 and the problem with the Maven feeds is occurring on our test system as well.


  • inedo-engineer

    Hi @scott-wright_8356 ,

    Can you try downgrading to 2023.30? I see some Maven changes, and any time there's a possibility of a regression. That will at least tell us where the issue might be.

    Thanks,
    Alana



  • @atripp We downgraded, but still no luck. It is incredibly slow and still getting the Object Reference errors. The 500 error in accessing Maven packages also occurs in both versions. What we did find, looking at our build logs, was the download from the feed was incredibly slow. All features were turned off the feed, and still, the download was slow. We went through the connectors and removed them one by one. We found that our connector for Google Andriod was incredibly slow, it was reporting healthy but was killing the feed.

    6eef55b3-599c-4b78-8266-cc81f0da5ede-image.png

    Is there a way to tell the speed of a public connector response so we can see the really slow ones and see if they are outdated? I think this might be a deprecated feed URL maybe.


  • inedo-engineer

    Hi @scott-wright_8356 ,

    Thanks; it sounds like the underlying issue is indeed Google Android connector you added. I don't have an information or idea on why that might be the case... some third-party repos (Maven, PyPi, NuGet, etc.) are just really slow and buggy.

    ProGet is basically acting like a proxy server here, so "garbage in, garbage out" applies - if the connector is slow and error-prone, then you will experience slowness and errors.

    Sometimes third-party repos will create packages that don't follow the specifications but just happen to work in certain versions of clients. That could be what's happening here. In cases like that, we can really only address those on a case-by-case basis, and we'd need to know exactly how to reproduce the error and investigate it later.

    Best,
    Alana


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation