Error Code 407 while uploading file in azure blob storage
Your documentation not covering error code 407, Why?
I'm getting following error while executing "await blockBlob.UploadFromFileAsync(pFilePath);" in my network, because my network configured with proxy.
The proxy tunnel request to proxy '[http://ipaddress:port/' failed with status code '407'.
But no where I saw the solution for it. Your HTTP Error Status code page also not shows 407 code. Why?
HttpClientHandler available for other HttpClient activities but nothing is available for CloudBlobClient why?
Complete code as following:
string blobstorageconnection = pConfig.AzuerBlobStorageConnectionString;
CloudStorageAccount cloudStorageAccount = CloudStorageAccount.Parse(blobstorageconnection);
CloudBlobClient? blobClient = null;
CloudBlockBlob? blockBlob = null;
blobClient = cloudStorageAccount.CreateCloudBlobClient();
CloudBlobContainer container = blobClient.GetContainerReference(pConfig.AzureStorageContainerName);
blockBlob = container.GetBlockBlobReference(pFileName);
await blockBlob.UploadFromFileAsync(pFilePath + @"\" + pFileName)
Current version of Azure.Storage.Blob is 12.13.1 and I'm very well using it.