Azure / azure-storage-android

Microsoft Azure Storage Library for Android
Apache License 2.0
81 stars 47 forks source link

Random Non-Fatal Exceptions #74

Open farhankhan-mset opened 5 years ago

farhankhan-mset commented 5 years ago

Hi,

I am getting random non-fatal exceptions while users try to upload a file to blob.

I am using latest sdk and not able to reproduce it but surely there are daily 30 ~ 50 exceptions are happening out of around 300.

Exceptions are below

Non-fatal Exception: com.microsoft.a.a.ab: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
       at com.microsoft.azure.storage.core.StorageRequest.materializeException(StorageRequest.java:315)
       at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:174)
       at com.microsoft.azure.storage.blob.CloudBlockBlob.uploadFullBlob(CloudBlockBlob.java:726)
       at com.microsoft.azure.storage.blob.CloudBlockBlob.upload(CloudBlockBlob.java:679)
       at com.microsoft.azure.storage.blob.CloudBlob.uploadFromFile(CloudBlob.java:1708)
       at com.microsoft.azure.storage.blob.CloudBlob.uploadFromFile(CloudBlob.java:1680)

Non-fatal Exception: com.microsoft.a.a.ab: The server encountered an unknown failure: 
       at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:206)
       at com.microsoft.azure.storage.blob.CloudBlobContainer.exists(CloudBlobContainer.java:767)
       at com.microsoft.azure.storage.blob.CloudBlobContainer.createIfNotExists(CloudBlobContainer.java:377)
       at com.microsoft.azure.storage.blob.CloudBlobContainer.createIfNotExists(CloudBlobContainer.java:324)```