-
Notifications
You must be signed in to change notification settings - Fork 492
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
Messages are not received after edgeHub restart - AMQP protocol #571
Comments
Also related (or duplicate of) #239. |
@Hammatt @abhipsaMisra and I are still investigating both our connection recovery tests and adding more logs. |
Thanks for the update! I can confirm that we have still been seeing this issue occasionally. |
@Hammatt We believe we've identified the cause of this issue: @varunpuranik's PR #611 was tested against both MQTT and AMQP. Once the changes are in, we'll prepare a new release. |
@CIPop - any updates on this one? |
@WilliamBerryiii This is a lot more complicated than first expected.
|
I'd also add that we should probably find a way to allow community members to run the E2E tests before PRs ... even via a light weight stubbing mechanism - assuming that the CI/CD on a PR triggers a full E2E run on a MSFT owned IoT Hub. (Just thinking about the ease of accepting non-MSFT contributions.) |
@WilliamBerryiii Good point! I meant to document this for a while: Please open a Support Request indicating your test subscription asking to enable Fault Injection. |
Would switching modules to MQTT be a workaround or would that not solve it or even bring other issues? |
I validated that with the latest release of the SDK - v1.19.0 this issue is fixed - https://www.nuget.org/packages/Microsoft.Azure.Devices.Client/1.19.0 @Hammatt - Can you please validate and if it works, close the issue? |
Thanks, I will validate this over the next few days and get back to you as soon as I can confirm. |
Sorry for the delay. I've finally had time to go through a bunch of testing and I haven't been able to reproduce the problem. Thanks! |
@CIPop, @Hammatt, @WilliamBerryiii, @sebader, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey |
Description of the issue:
Edge modules do not reconnect to the Hub properly after the hub restarts some time during operation. They seem to be able to
Code sample exhibiting the issue:
Any set of two modules which communicate with eachother via AMQP (have not tested other protocols) Here's a sample one I often use:
Hook two instances of that up to itself.
Console log of the issue:
run
docker restart edgeHub
to force the edgeHub to restart..See Azure/iotedge#65 for more info.
The text was updated successfully, but these errors were encountered: