none
Microsoft.Rest.ClientRuntime: An error occurred while sending the request. System.Net.Sockets: RRS feed

  • Question

  • Hi,

    We are getting wired error on deploying Azure Function to production environment. The current version of the function we are using is V3.

    Microsoft.Rest.ClientRuntime: An error occurred while sending the request. System.Net.Sockets: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

    On startup of the function- only used below lines which could do socket exception. But the code is working fine on lower environments

    Function Startup:

    Config = new ConfigurationBuilder()

                    .AddAzureKeyVault("http://");

    builder.Services.AddSingleton(blob => blobAcc.CreateCloudBlobClient());

    Not sure what could be the root cause of it

    Wednesday, August 5, 2020 11:59 AM

Answers

All replies