Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

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

$
0
0

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


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>