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