Azure / azure-iot-sdk-csharp

A C# SDK for connecting devices to Microsoft Azure IoT services
Other
470 stars 492 forks source link

Fix bug where opening service client with Amqp_WebSocket_Only throws ArgumentOutOfRangeException #3462

Closed brycewang-microsoft closed 5 months ago

brycewang-microsoft commented 5 months ago

Customer reported this issue via ICM image

Also added an e2e test to cover this particular scenario in this PR.

brycewang-microsoft commented 5 months ago

/azp run

azure-pipelines[bot] commented 5 months ago
Azure Pipelines successfully started running 1 pipeline(s).
timtay-microsoft commented 5 months ago

It sounds like we could also ask the user to provide a timespan or cancellation token to their serviceClient.OpenAsync(...) call to immediately unblock them, right?

brycewang-microsoft commented 5 months ago

/azp run

azure-pipelines[bot] commented 5 months ago
Azure Pipelines successfully started running 1 pipeline(s).
brycewang-microsoft commented 5 months ago

/azp run

azure-pipelines[bot] commented 5 months ago
Azure Pipelines successfully started running 1 pipeline(s).
brycewang-microsoft commented 5 months ago

/azp run

azure-pipelines[bot] commented 5 months ago
Azure Pipelines successfully started running 1 pipeline(s).