You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an alternate to uploadToBlob method to save SAS token quota from IotHub. I am directly using getBlobSharedAccessSignature and notifyBlobUploadStatus method to control when to acquire token or reuse existing token in case of file upload failure/retry scenario. My workflow is described below
Use IoT SDK to acquire SAS token:
Use Azure Storage SDK to upload file:
Again use IoT SDK to notify IoT Hub about success or failure:
This works perfectly in normal environment with edge having direct internet connectivity, though it fails when the edge-proxy is running behind the corporate firewall with below error. Encountered unrecoverable error: Error: connect ETIMEDOUT 13.79.172.43:443
As an alternate to uploadToBlob method to save SAS token quota from IotHub. I am directly using getBlobSharedAccessSignature and notifyBlobUploadStatus method to control when to acquire token or reuse existing token in case of file upload failure/retry scenario. My workflow is described below
This works perfectly in normal environment with edge having direct internet connectivity, though it fails when the edge-proxy is running behind the corporate firewall with below error.
Encountered unrecoverable error: Error: connect ETIMEDOUT 13.79.172.43:443
After a quick glance on the source code it seems the developer in this PR-Add proxy support to blob file upload in Device SDK missed to apply setOptions for FileUploadApi.
A quick fix should go as below
The text was updated successfully, but these errors were encountered: