I set blob_client as above and I used it for uploading many files (over 400 files, it took over 2 minutes).
Then AzureBlob returns timeout error like Errno::ETIMEDOUT: Failed to open TCP connection to xxx.blob.core.windows.net:443 (Connection timed out - connect(2) for "xxx.blob.core.windows.net" port 443).
I expected retry the request but never retried it, because retry_data[:count] was already over 400 which exceeded DEFAULT_RETRY_COUNT = 3.
So I fixed retry_data in Azure::Core::Http::RetryPolicy to refresh each request.
I got a timeout error for ssl connection, but never retry even if RetryPolicy enabled.
I set blob_client as above and I used it for uploading many files (over 400 files, it took over 2 minutes). Then AzureBlob returns timeout error like
Errno::ETIMEDOUT: Failed to open TCP connection to xxx.blob.core.windows.net:443 (Connection timed out - connect(2) for "xxx.blob.core.windows.net" port 443)
. I expected retry the request but never retried it, becauseretry_data[:count]
was already over 400 which exceededDEFAULT_RETRY_COUNT = 3
.So I fixed
retry_data
inAzure::Core::Http::RetryPolicy
to refresh each request.