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!

    Local index file update failure: The remote server returned an error: (403) Forbidden.

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 15 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
      michael.day_7391
      last edited by michael.day_7391

      Proget 2025.19 on Windows Server 2019

      I have configured a feed for RPMs, and added the following connector: https://prod-cdn.packages.k8s.io/repositories/isv:/kubernetes:/core:/stable:/v1.31/rpm/repodata/repomd.xml

      I have also tried the url https://prod-cdn.packages.k8s.io/repositories/isv%3A/kubernetes%3A/core%3A/stable%3A/v1.31/rpm/repodata/repomd.xml just in case the url parser was getting confused by the colons in the path, and although this also works in a web browser, it still produces the 403 forbidden error.

      I can connect to and mirror this repo with our existing Artifactory system with no issues. I can also open that URL in a web browser (on the ProGet server) and retrieve a valid repomd.xml file. so I know that there is no connectivity issue.

      I left authentication as anonymous.

      However, ProGet returns a 403 forbidden error when I try.

      Local index file update failure: The remote server returned an error: (403) Forbidden.
      
      System.Net.WebException: The remote server returned an error: (403) Forbidden.
         at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
         at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
      --- End of stack trace from previous location ---
         at System.Net.WebRequest.GetResponseAsync()
         at Inedo.ProGet.GlobalExtensions.GetResponseAsync(HttpWebRequest request, CancellationToken cancellationToken)
         at Inedo.ProGet.Feeds.Connector.GetDirectResponseAsync(String url, CancellationToken cancellationToken)
         at Inedo.ProGet.Feeds.Connector.GetCachedResponseAsync(String url, CancellationToken cancellationToken)
         at Inedo.ProGet.Feeds.Connector.GetCachedTextReaderAsync(String url, Boolean bufferEntireResponse, CancellationToken cancellationToken)
         at Inedo.ProGet.Feeds.Rpm.RpmConnector.UpdateIndexAsync(RpmConnectorIndex localIndex)
         at Inedo.ProGet.Feeds.Rpm.RpmConnector.GetAndUpdateIndexAsync()
         at Inedo.ProGet.Feeds.Rpm.RpmConnector.Inedo.ProGet.Feeds.ILocalIndexFileConnector.UpdateIndexAsync(CancellationToken cancellationToken)
         at Inedo.ProGet.Feeds.CachedIndexFileMan.UpdateConnectorIndexAsync(Int32 connectorId, CancellationToken cancellationToken)
      
      ::Connector Error on 2026-01-27 9:54:34 AM::
      
      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @michael.day_7391
        last edited by

        hi @michael-day_7391 ,

        The correct connector URL would be:

        https://prod-cdn.packages.k8s.io/repositories/isv:/kubernetes:/core:/stable:/v1.31/rpm/
        

        I added that connector and coould see/browse/download packages in the repository.

        Thanks,
        Alana

        1 Reply Last reply Reply Quote 0
        • M Offline
          michael.day_7391
          last edited by

          Thanks, that worked!

          We've had problems with this repo before as directory browsing isn't allowed due to the fact it's hosted on S3, so it breaks some software if you just put in the folder path. I guess ProGet is properly just appending the usual location of the repodata file instead of requiring the ability to browse the root folder.

          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