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: detect fail-over from iot hub/sdk behavior and disconnect from hub #5716

Merged
merged 3 commits into from
Oct 21, 2021

Conversation

vipeller
Copy link
Contributor

@vipeller vipeller commented Oct 19, 2021

Iot-hub does not disconnect in case of fail over and edgeHub keeps sending messages/operations. These operations fail with a specific error and never recover.
Added some logic to filter exceptions, so when the error message arrives that is thrown by the "old" server (the server serving before fail-over), EdgeHub disconnect and the new connection attempt will find the new server.

cherry pick of #5669

@kodiakhq kodiakhq bot merged commit 01cd351 into Azure:release/1.1 Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants