opened
njbuch
username_0
I want to test the local blob storage on my edge device, I have a running module (which is called 'localstorage', that is waiting for some containers now. But I cannot get the Python code working.

Trying  `block_blob_service = BlockBlobService(endpoint_suffix="http://localstorage:11002/root",account_name='root',account_key='&lt;long and secret&gt;')`

I get the following error:
No handlers could be found for logger "azure.storage.common.storageclient"
ConnectionError: HTTPSConnectionPool(host='root.blob.https', port=443): Max retries exceeded with url: //localstorage%3A11002/root/quickstartblobs?restype=container (Caused by NewConnectionError('&lt;urllib3.connection.VerifiedHTTPSConnection object at 0xb5c03610&gt;: Failed to establish a new connection: [Errno -2] Name or service not known',))



---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 07a44a28-a19c-f68e-167c-5e8ad91605e0
* Version Independent ID: 33eacdff-4f0a-c543-d8f9-e7b208bab015
* Content: [Store block blobs on devices - Azure IoT Edge](https://docs.microsoft.com/en-us/azure/iot-edge/how-to-store-data-blob#azure-storage-explorer)
* Content Source: [articles/iot-edge/how-to-store-data-blob.md](https://github.com/Microsoft/azure-docs/blob/master/articles/iot-edge/how-to-store-data-blob.md)
* Service: **iot-edge**
* GitHub Login: @username_3
* Microsoft Alias: **username_3**
Python for IotEdge local module endpoint?
issue
created
njbuch
username_0
I should add that without specifying the endpoint_suffix it works like a charm, but depends on the internet connectivity...
comment
created
Alberto-Vega-MSFT
username_1
@username_0 Thanks for the feedback! We are currently investigating and will update you shortly.
comment
created
mbialecka
username_2
@username_0 Please use full connection string as described in the [doc](https://docs.microsoft.com/en-us/azure/iot-edge/how-to-store-data-blob#connect-to-your-local-storage-with-azure-storage-explorer). Example:

```
block_blob_service = BlockBlobService(connection_string='DefaultEndpointsProtocol=http;AccountName=root;AccountKey=<key>;BlobEndpoint=http://localstorage:11002/root;')
block_blob_service._X_MS_VERSION = '2017-04-17'
```

Note that this example will work only from within another IoT module.
comment
created
njbuch
username_0
Thanks, I will try this, but is the version planned to be upgraded, it seems that the forced 2017 versions seems a little outdated?
comment
created
mbialecka
username_2
This is the only version that is supported right now as mentioned [here](https://docs.microsoft.com/en-us/azure/iot-edge/how-to-store-data-blob#supported-storage-operations).
comment
created
arduppal
username_3
@username_0- What method or method properties are you looking for which is not supported by 2017-04-17 for your scenario ? Please provide justification and we can evaluate.
comment
created
njbuch
username_0
I did the first prototype now, and it seems to work, thanks to all assisting :) 

There is currently no features in the current (old) version that is not working or missing, so no current needs. Will revert if that changes.

Thanks again
comment
closed
njbuch
username_0
issue