Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to access BLOB using CDN in Azure

I have a storage account in azure, It contains container as "images" I am able to access my blob using following path https://mystorageaccount.blob.core.windows.net/images/image1.jpg

Now I have created CDN for https://mystorageaccount.blob.core.windows.net

& got some URL as follow for CDN

http://abcd55555.vo.msecnd.net/

But when I try to access my BLOB using CDN as follow

http://abcd55555.vo.msecnd.net/images/image1.jpg

I get 404 - Not Found Error.

I have EndPoint Enabled, HTTP Protocol Enabled,QUERY STRING STATUS Enabled.

What's going wrong?

like image 250
AK47 Avatar asked Jul 01 '14 13:07

AK47


People also ask

Is Azure blob storage a CDN?

Overview. The Microsoft Azure Content Delivery Network (CDN) offers developers a global solution for delivering high-bandwidth content that is hosted in Azure. Using the CDN, you can cache publicly available objects loaded from Azure blob storage, a web application, virtual machine, or an application folder.

How do I give access to blob storage Azure?

To allow or disallow public access for a storage account in the Azure portal, follow these steps: Navigate to your storage account in the Azure portal. Locate the Configuration setting under Settings. Set Blob public access to Enabled or Disabled.

What is the format for the CDN URL to access cached content?

Caching content from Azure websites When you enable CDN access for a website, the Management Portal provides you with a CDN domain name in the following format: http://<identifier>.azureedge.net/ . This domain name can be used to retrieve objects from a website.


2 Answers

Later I was able to access those BLOB's

I think that we need to wait for some time around 24 or 48 hours to be able to access those BLOBs.

EDIT: Later I come to know that, 60 minutes is delay that is 1 hour.

like image 147
AK47 Avatar answered Sep 19 '22 01:09

AK47


Did you make your blob container public?

http://msdn.microsoft.com/en-us/library/azure/dd179354.aspx

and properly configured your CDN end point?

http://azure.microsoft.com/en-us/documentation/articles/cdn-how-to-use/

like image 22
Ryan Parrish Avatar answered Sep 20 '22 01:09

Ryan Parrish