Notifications
Announcements
No record found.
I am trying to run RetailSDK sample extension projects, and before I build the project, I run ‘dotnet restore’ to generate nupkg files. But there is always timeout error, like below
context as below
“Severity Code Description Project File Line Suppression StateError Failed to download package 'System.Runtime.Serialization.Xml.4.3.0' from 'api.nuget.org/.../system.runtime.serialization.xml.4.3.0.nupkg'.The download of 'api.nuget.org/.../system.runtime.serialization.xml.4.3.0.nupkg' timed out because no data was received for 60000ms. Exception of type 'System.TimeoutException' was thrown. PaymentSdk.Connector.Sample.MerchantWeb C:\Temp\WKEA_RetailSDK\version01\Payments\Connector.Sample.MerchantWeb\PaymentSdk.Connector.Sample.MerchantWeb.csproj 1”
The Nuget package settings as below The packages could not be downloaded from VS, but if I directly launch the link from the browser, I can download them manually.
The package source is "https://api.nuget.org/v3/index.json" named as "NugetDotOrg".
Could anyone help with this issue? How can I directly download the packages via VS?
Hi Erick,
the screenshots are so small, it is not possible to see any information on them. Can you please provide new screenshots with a higher resolution?
Hi Ramune,
The context in the screenshots as below:
PM> dotnet restore
Restoring packages for C:\Temp\WKEA_RetailSDK\version01\SampleExtensions\RetailServer\Extensions.TestClient\RetailServer.Extensions.TestClient.csproj...
Failed to download package 'Microsoft.Spatial.7.6.1' from 'api.nuget.org/.../microsoft.spatial.7.6.1.nupkg'.
The download of 'api.nuget.org/.../microsoft.spatial.7.6.1.nupkg' timed out because no data was received for 60000ms.
Exception of type 'System.TimeoutException' was thrown.
Failed to download package 'Microsoft.CodeAnalysis.Common.3.3.0' from 'api.nuget.org/.../microsoft.codeanalysis.common.3.3.0.nupkg'.
The download of 'api.nuget.org/.../microsoft.codeanalysis.common.3.3.0.nupkg' timed out because no data was received for 60000ms.
Failed to download package 'Microsoft.Data.OData.5.6.4' from 'api.nuget.org/.../microsoft.data.odata.5.6.4.nupkg'.
The download of 'api.nuget.org/.../microsoft.data.odata.5.6.4.nupkg' timed out because no data was received for 60000ms.
Failed to download package 'Microsoft.OData.Edm.7.6.1' from 'api.nuget.org/.../microsoft.odata.edm.7.6.1.nupkg'.
The download of 'api.nuget.org/.../microsoft.odata.edm.7.6.1.nupkg' timed out because no data was received for 60000ms.
Failed to download package 'Microsoft.Rest.ClientRuntime.2.3.2' from 'api.nuget.org/.../microsoft.rest.clientruntime.2.3.2.nupkg'.
The download of 'api.nuget.org/.../microsoft.rest.clientruntime.2.3.2.nupkg' timed out because no data was received for 60000ms.
But if I directly use the hyperlink in a browser I can successfully download the package, so it is very important for us to resolve this download timeout issue to improve the build performance.
And the package source we're using is api.nuget.org/.../index.json
Thanks/Erick
the screenshots are not fully uploaded. We see only a link which opens with error. Please try to edit your post with the screenshots again.
I have updated the original post, please help check if there is still information missing.
I see only link to your document but it is not active. When you upload some files, please wait until you see the picture or file in the form and then submit. It seems it is taking more time on your side and file is not uploaded completely.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Siv Sagar 283 Super User 2025 Season 2
Laurens vd Tang 213 Super User 2025 Season 2
André Arnaud de Cal... 152 Super User 2025 Season 2