-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug Report] Connection status reason for routine MQTT disconnects is incorrect #1405
Comments
This is likely because the SDK classifies all retryable errors as NO_NETWORK before it even checks if the SAS token was expired: Line 1048 in a0bb730
|
We have added improvements in the latest release that should help with this issue and others. Please feel free to reopen if the upgraded library does not solve this problem. https://github.com/Azure/azure-iot-sdk-java/releases/tag/2021-12-15 |
Just as a heads up, this used to be logged with WARN and Exceptions. So I guess we will update and see how it goes with regard to log output.
|
Device/module clients that connect over MQTT are expected to lose connection once their SAS token has expired, but the connection status update that the SDK makes at this time is always "NO_NETWORK" instead of the expected "EXPIRED_SAS_TOKEN"
The text was updated successfully, but these errors were encountered: