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!

    Maven connector receives 403 Forbidden response from repo1.maven.org

    Scheduled Pinned Locked Moved Support
    proget
    4 Posts 1 Posters 454 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.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi - we have a Proget server configured with a Maven connector that receives 403 responses when attempting to get a repository listing at https://repo1.maven.org/maven2.

      This 403 response only ever occurs when the request originates from Proget itself; the same URL & listing works when viewed via a browser on the same machine that the Proget service is running on.

      Just wondering if this is something that has been encountered before, and if it's a known issue, how do we work around it?

      Product: ProGet
      Version: 3.5.8

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        The 403 is most likely coming from the proxy server that ProGet is utilizing; you can change this by going to Admin > Proxy.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          403 is the response that we receive when testing the proxy configuration in the Admin -> Proxy settings screen.

          Does Proget identify itself in request headers or something?

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            The "Proxy Configuration" page does not (currently) send an agent string; apparently, maven.org will return a 403 errors without an agent string, so you will get an error if you attempt to visit the maven central index (https://repo1.maven.org/maven2) from that page.

            However, the FullMavenConnectorIndex task (which is schedulable / runnable under Admin > Tasks) does send an agent string, and maven.org does not block that request. If you are getting a 403 during that task run, it's going to be coming from your intenral proxy server, not maven.org.

            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