SSL Connection error while accessing Azure Storage Blob from Local Xamarin Project

Mahesh Balasubramanian 1 Reputation point

I have created as Xamarin Project to upload images to Azure Blob Storage. While I am trying to access the Blob storage from my Local Machine's Xamarin Project. I am getting the following error while calling the below methods.

await container.CreateIfNotExistsAsync();

await blockBlob.UploadFromStreamAsync(stream); 10230-capture.png


private async void UploadImage(Stream stream)
var account = CloudStorageAccount.Parse("DefaultEndpointsProtocol=https;AccountName=sevenimages;AccountKey=KeyRemoved;");
var client = account.CreateCloudBlobClient();
var container = client.GetContainerReference("imagecloudstorage");
await container.CreateIfNotExistsAsync();

        var name = Guid.NewGuid().ToString();  
        var blockBlob = container.GetBlockBlobReference($"{name}.jpg");  
        await blockBlob.UploadFromStreamAsync(stream);  

        string url = blockBlob.Uri.OriginalString;  
Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
603 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ken Tucker 5,846 Reputation points

    What kind of Xamarin Project (android, ios, or uwp)? I am wondering if the platform you are running the xamarin project in does not support tls 1.1 or tls 1.2

    0 comments No comments

  2. Josu Uribe 1 Reputation point


    MaheshBalasubramanian-9478, did you find a solution for this? Could you share it?


    0 comments No comments