November Happy Hour will be moved to Thursday December 5th.

404 on resized images in Azure

Vote:
 

We are using ImageResizing.net with diskCache and the EPiServerBlobReaderPlugin within Azure.
Since a couple of days, we are sometimes seeing 404's returned for the resized images. This seems to be quite random; it can differ from browser to browser, users or even from the width parameter added to the URL. 
The site is running on just one instance, as is the blob storage. 
It looks like a caching issue (problem seems to be solved after a deployment), but we are not sure where to look next.

This is what I found in the logs:

Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (404) Not Found. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
   --- End of inner exception stack trace ---
   at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
   at Microsoft.WindowsAzure.Storage.Blob.CloudBlob.FetchAttributes(AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)
   at Microsoft.WindowsAzure.Storage.Blob.CloudBlob.OpenRead(AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)
   at EPiServer.Azure.Blobs.AzureBlob.OpenRead()
   at ImageResizer.Plugins.EPiServerBlobReader.EPiServerBlobFile.Open()
   at ImageResizer.ImageBuilder.GetStreamFromSource(Object source, ResizeSettings settings, Boolean& disposeStream, String& path, Boolean& restoreStreamPosition)
   at ImageResizer.ImageBuilder.LoadImage(Object source, ResizeSettings settings, Boolean restoreStreamPos)
   at ImageResizer.ImageBuilder.BuildJob(ImageJob job)
   at ImageResizer.ImageBuilder.Build(ImageJob job)
   at ImageResizer.ImageBuilder.Build(Object source, Object dest, ResizeSettings settings, Boolean disposeSource, Boolean addFileExtension)
   at ImageResizer.ImageBuilder.Build(Object source, Object dest, ResizeSettings settings, Boolean disposeSource)
   at ImageResizer.ImageBuilder.Build(Object source, Object dest, ResizeSettings settings)
   at ImageResizer.InterceptModule.<>c__DisplayClass5_0.b__1(Stream stream)
   at ImageResizer.Plugins.Basic.NoCacheHandler.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request Information
RequestID:a02d6b0e-0001-00d3-4dc0-0d7fc9000000
RequestDate:Tue, 13 Sep 2016 13:14:20 GMT

This is our current configuration: 

EPiServer.CMS v9.12.0
ImageResizer v4.0.4
ImageResizer.Plugins.EPiServerBlobReader v4.0.1










Any ideas why sometimes these 404's appear?

#155374
Edited, Sep 15, 2016 10:38
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.