Singleton HttpClient does not honor DNS changes as in case of failover #1865
Labels
fix-checked-in
Fix checked into main or preview, but not yet released.
IoTSDK
Tracks all IoT SDK issues across the board
Hi,
The Service SDK seem to be using a singleton httpclient and does not honor dns changes as when they happen in case of Failover of an IoT Hub.
This blog post explains in detail on how this can be addressed by appropriately setting ConnectionLeaseTimeout
http://byterot.blogspot.com/2016/07/singleton-httpclient-dns.html
Description of the issue:
Code sample exhibiting the issue:
Console log of the issue:
The text was updated successfully, but these errors were encountered: