Closed ksin63 closed 3 years ago
Would it be possible to backport the fix also to version 1.17.0-lts0720up1
?
@abossard we unfortunately only backport security issue patches to LTS releases. Bug fixes like this are the purpose of the main branch.
@abossard Is this blocking production?
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