question

AndreasGey-4736 avatar image
0 Votes"
AndreasGey-4736 asked LeonLaude edited

Azure Devops Server: Some times "Failed to download package: 403 Forbidden"

We use dotnet build and get sporadically an error on restoring packages.
Most the time pulling packages works. But some times we get the following error:
Failed to download package 'System.Text.Encoding.CodePages.5.0.0' from 'http://172.30.2.67:8080/tfs/DefaultCollection/_packaging/e83a612b-4fbe-46d1-9bf5-e514e3e7c5cd/nuget/v3/flat2/system.text.encoding.codepages/5.0.0/system.text.encoding.codepages.5.0.0.nupkg'.
Response status code does not indicate success: 403 (Forbidden).


Here is an extract from the log:
OK http://172.30.2.67:8080/tfs/DefaultCollection/_packaging/e83a612b-4fbe-46d1-9bf5-e514e3e7c5cd/nuget/v3/flat2/system.data.sqlclient/index.json 83ms
GET http://172.30.2.67:8080/tfs/DefaultCollection/_packaging/e83a612b-4fbe-46d1-9bf5-e514e3e7c5cd/nuget/v3/flat2/xeecommon/index.json
OK http://172.30.2.67:8080/tfs/DefaultCollection/_packaging/e83a612b-4fbe-46d1-9bf5-e514e3e7c5cd/nuget/v3/flat2/xeecommon/index.json 91ms
GET http://172.30.2.67:8080/tfs/DefaultCollection/_packaging/e83a612b-4fbe-46d1-9bf5-e514e3e7c5cd/nuget/v3/flat2/sixlabors.fonts/index.json
OK http://172.30.2.67:8080/tfs/DefaultCollection/_packaging/e83a612b-4fbe-46d1-9bf5-e514e3e7c5cd/nuget/v3/flat2/sixlabors.fonts/index.json 91ms
GET http://172.30.2.67:8080/tfs/DefaultCollection/_packaging/e83a612b-4fbe-46d1-9bf5-e514e3e7c5cd/nuget/v3/flat2/sixlabors.imagesharp/index.json
OK http://172.30.2.67:8080/tfs/DefaultCollection/_packaging/e83a612b-4fbe-46d1-9bf5-e514e3e7c5cd/nuget/v3/flat2/sixlabors.imagesharp/index.json 78ms
GET http://172.30.2.67:8080/tfs/DefaultCollection/_packaging/e83a612b-4fbe-46d1-9bf5-e514e3e7c5cd/nuget/v3/flat2/system.text.encoding.codepages/5.0.0/system.text.encoding.codepages.5.0.0.nupkg
Forbidden http://172.30.2.67:8080/tfs/DefaultCollection/_packaging/e83a612b-4fbe-46d1-9bf5-e514e3e7c5cd/nuget/v3/flat2/system.text.encoding.codepages/5.0.0/system.text.encoding.codepages.5.0.0.nupkg 3738ms
GET http://172.30.2.67:8080/tfs/DefaultCollection/_packaging/e83a612b-4fbe-46d1-9bf5-e514e3e7c5cd/nuget/v3/flat2/castle.core/index.json
Failed to download package 'System.Text.Encoding.CodePages.5.0.0' from 'http://172.30.2.67:8080/tfs/DefaultCollection/_packaging/e83a612b-4fbe-46d1-9bf5-e514e3e7c5cd/nuget/v3/flat2/system.text.encoding.codepages/5.0.0/system.text.encoding.codepages.5.0.0.nupkg'.
Response status code does not indicate success: 403 (Forbidden).

Has someone an idea how to troubleshoot this problem?

not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LeonLaude avatar image
0 Votes"
LeonLaude answered

Hi @AndreasGey-4736,

Please note that Azure DevOps Server is currently not supported in the Q&A forums, the supported products are listed over here https://docs.microsoft.com/en-us/answers/products.

You may ask the experts in the dedicated Azure DevOps Server forum over here:
https://developercommunity.visualstudio.com/report?space=22&entry=problem


If the reply was helpful please don't forget to upvote and/or accept as answer, thank you!


Best regards,
Leon

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.