dotnet / sdk-container-builds

Libraries and build tooling to create container images from .NET projects using MSBuild
https://learn.microsoft.com/en-us/dotnet/core/docker/publish-as-container
MIT License
175 stars 30 forks source link

Provide a way to adjust the httpclient timeout for layer pushes #543

Open baronfel opened 5 months ago

baronfel commented 5 months ago

Users aren't always in control of their network - we should provide some way for them to override the default .NET timeout for uploads (100s). This pops up in a few places, like https://github.com/Azure/azure-dev/discussions/3212.

Thoughts:

cc @rainersigwald @MichalPavlik

BartNetJS commented 5 months ago

got the same issue, see https://github.com/Azure/azure-dev/issues/3225#top

baronfel commented 4 months ago

This also bit @mitchdenny hard today.

baronfel commented 4 months ago

Customers are hitting this repeatedly on the linked issue. We may need to bump priority + backport to 8.0.200 since Aspire is using that feature branch.

cc @MichalPavlik / @rokonec / @rainersigwald

tmds commented 4 months ago

I wonder if the issue isn't caused by the SDK not doing chunked uploads, see https://github.com/Azure/azure-dev/discussions/3212#discussioncomment-8553439.

baronfel commented 2 months ago

We've got a hotfix in for 8.0.200 servicing and 8.0.300, but we should have some more usable knob. Moving this to the next milestone as a result.

DamianEdwards commented 1 month ago

@baronfel is a fix for this in 8.0.1xx?

baronfel commented 1 month ago

No, I'm not sure why I didn't backport that far originally. Folks using 1xx can use the nuget packages for a workaround now, however.

baronfel commented 1 month ago

I kicked a backport off that I can get servicing approval for over email.

baronfel commented 1 month ago

Backport is https://github.com/dotnet/sdk/pull/41294