[BUG] Getting 404 responses from Azure BlobClient during a manual failover for RA-GRS Storage Account
See original GitHub issueLibrary name and version
Azure.Storage.Blob 12.8.0
Describe the bug
We do have a Storage Account with RA-GRS replication type. Also, we have set GeoRedundantSecondaryUri
to be a secondary Blob Service Uri. Then we try to perform a manual failover for the Storage Account.
We are getting 404 responses without retries and any attempts to read from the secondary location.
Expected behavior
Library tries to read from the secondary blob Uri
Actual behavior
The response code is 404. Blob Client doesn’t try any retries from the secondary blob service endpoint
Reproduction Steps
- Storage Account with RA-GRS replication type
- Set
GeoRedundantSecondaryUri
to be a secondary blob service endpoint - Upload a file to a blob storage
- Try to read previously uploaded file continuously
- Perform a manual failover for the storage account
- Read request will start to fail with 404 (NotFound) Status Code
Environment
.NET SDK (reflecting any global.json):
Version: 6.0.201
Commit: ef40e6aa06
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.15
OS Platform: Darwin
RID: osx.10.15-x64
Base Path: /usr/local/share/dotnet/sdk/6.0.201/
Host (useful for support):
Version: 6.0.3
Commit: c24d9a9c91
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
How to solve 404 while working with azure.storage.fileshare?
This looks like a request made to retrieve a file from an Azure File Storage service, and the response indicates that the file...
Read more >getting 404 error when connecting to azure storage account
The problem was the container was not created or had been deleted. I added container.CreateIfNotExist();. and it worked fine.
Read more >Azure Blob Storage 404 Error - Microsoft Power BI Community
Hi, I'm trying to connect my dashboard to an Azure Blob Storage, however, when I provide the account name or URL, I'm faced...
Read more >404 when moving images from Azure to another storage ...
An exception is thrown when moving images stored in Azure blob storage to another storage provider. Steps to Reproduce.
Read more >AzureTroubleshooting Technet | PDF | Computer File
If you try to delete a storage account associated with an Azure virtual machine, you may get an error about the storage account...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, Looks like this error is not caused by the SDK. A 404 BlobNotFound Error could mean anything from authentication issue or to the failover replication not being successful.
I would recommend opening up an Azure Support Request to check in the blob in question that’s giving the 404 error. The SDK is only passing on the error to the client, not necessarily causing the 404 to happen in the first place. https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
@ykulyk404 Thank you for reaching out, we are looking into it.