Skip to content
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

Fix bug where device operations not recovering after reconnect #3281

Merged
merged 2 commits into from Apr 18, 2023

Conversation

brycewang-microsoft
Copy link
Contributor

Using Amqp (with TCP), when device client disconnects for a duration like 10 sec and then re-connects, some operations will not recover by retries. It appears that an OperationCanceledException would be thrown from SendAmqpMessageAsync() call in "AmqpIotSendingLink" class, even if cancellation has not been requested yet.

@brycewang-microsoft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@brycewang-microsoft
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@brycewang-microsoft brycewang-microsoft merged commit a5a5307 into previews/v2 Apr 18, 2023
11 checks passed
@brycewang-microsoft brycewang-microsoft deleted the brycewang/amqp-disconnect branch April 18, 2023 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants