Service Fabric HTTP client image store upload timeout when running in .NET 6 application

Thomas Hammond 1 Reputation point

We have a custom deployment engine that uses the Service Fabric HTTP client (Microsoft.ServiceFabric.Client.Http) to deploy Service Fabric applications. It runs fine on .NET Framework 4.8, but if we use .NET 6, our second application upload to the Service Fabric image store times out, along with all subsequent uploads from within the same deployment process. The first app upload takes about 15 seconds, and the second times out after 100 seconds (the HTTP default timeout) even though the app content is the same size. It happens every time we run, but if I switch back to .NET Framework 4.8, it works fine (all apps upload within about 15 seconds).

I have tried disabling all of the new socket and IPv6 stuff in my process, but no luck.

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
253 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. vipullag-MSFT 25,446 Reputation points

    @Thomas Hammond

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Currently, .NET 6 is still not fully supported in SF.

    Checked with internal team on this, The GA support for .NET 6 is targeted for SF 9.0 release, the release date is not yet decided.

    Support for IHost and IWebHost in AspNetCoreCommunicationListener is shipped in 5.2.1363, but the docs and samples are work in progress. Team is working on more framework support.

    Similar ask here:

    Hope that helps.
    Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.

  2. Thomas Hammond 1 Reputation point

    Ironically, our .NET 6 apps running on Service Fabric (a VM in a SF cluster) seem to work fine. I was referring to an external app running on a regular non-SF machine (Windows 10) using .NET 6 and the SF HTTP client to deploy applications into a cluster.

    0 comments No comments