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

Shutdown EdgeAgent if ModuleClient gets stuck in ObjectDisposed loop #1254

Merged
merged 1 commit into from
May 24, 2019

Conversation

varunpuranik
Copy link
Contributor

The current version of the SDK can get into a bad state because of this issue - Azure/azure-iot-sdk-csharp#953

This change catches the exception and shuts down the EdgeAgent, so that it can restart and recover.

@varunpuranik varunpuranik merged commit bbc8d3c into release/1.0.7 May 24, 2019
@varunpuranik varunpuranik deleted the varunpuranik/107_objdisp_ea branch May 24, 2019 18:13
varunpuranik added a commit that referenced this pull request May 24, 2019
#1255)

* EdgeHub: Add support for a RetryingClient to handle SDK issues (#1239)

* Add support for retrying CloudProxy

* Add Tests

* Add / fix tests

* Cleanup and fix test

* Fix build

* Update RetryingCloudProxyTest.cs

* Fix build

* Fix RetryCount usage

* Fix RetryingCloudProxy loop

* Update RetryingCloudProxy.cs

* remove env var (#1247) (#1253)

* Dispose client on getting an Object Disposed exception (#1211) (#1251)

* Kill EA on ObjDispException (#1254)

* EdgeHub: Add support for a RetryingClient to handle SDK issues (#1239)

* Add support for retrying CloudProxy

* Add Tests

* Add / fix tests

* Cleanup and fix test

* Fix build

* Update RetryingCloudProxyTest.cs

* Fix build

* Fix RetryCount usage

* Fix RetryingCloudProxy loop

* Update RetryingCloudProxy.cs

* Fix build
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

2 participants