I am trying to upload a csv/pdf files to azure blob storage using python locally. I followed this post, but this throws an error, from azure.storage.blob import BlockBlobService from azure.storage.blob import ContentSettings block_blob_service = BlockBlobService(account_name='account_name', account_key='key1') block_blob_service.create_container('cn1') block_blob_service.set_container_acl('cn1', public_access=PublicAccess.Container) #Upload the CSV file to Azure cloud block_blob_service.create_blob_from_path( 'mycontainer', 'C:/uploads/blob.csv', 'C:/uploads/blob.pdf', content_settings=ContentSettings(content_type='application/CSV') ) After uploading i want to use the uploaded file to process. Traceback (most recent call last): File "", line 1, in block_blob_service.create_container('cn1') File "c:\users\rb287jd\appdata\local\programs\python\python36\lib\site-packages\azure\storage\blob\baseblobservice.py", line 600, in create_container self._perform_request(request) File "c:\users\rb287jd\appdata\local\programs\python\python36\lib\site-packages\azure\storage\storageclient.py", line 280, in _perform_request raise ex File "c:\users\rb287jd\appdata\local\programs\python\python36\lib\site-packages\azure\storage\storageclient.py", line 252, in _perform_request raise AzureException(ex.args[0]) AzureException: HTTPSConnectionPool(host='account_name.blob.core.windows.net', port=443): Max retries exceeded with url: /cn1?restype=container (Caused by ConnectTimeoutError(, 'Connection to account_name.blob.core.windows.net timed out. (connect timeout=20)')) Continue reading...