-
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
[Bug Report] DeviceClient.SendEventAsync takes over one minute after update from 1.42.0 to 1.42.2 #3426
Comments
It seems to be, that I am running into the same/a very similar problem. When using Version 1.42.2 |
Do you see this same behavior on .NET 7 as well? And do you see it when using AMQPS as well? |
Besides NET8, I only have the NET6 SDK installed, for which the issue does not occur (same duration for 1.42.0 and 1.42.2). |
We suspect this is related to a .NET 8 bug in DotNetty (the MQTT library we use). The fix for this bug in DotNetty has been merged and we are working on putting out a new DotNetty release. Once we have released DotNetty, we'll put out a release of this SDK with the new DotNetty version which should resolve this issue. |
Looks like DotNetty is out with new version, I have added direct refereces to DotNetty and it looks like it's working now
|
This behavior should be fixed in the new release: |
Context
Description of the issue
After updating from Microsoft.Azure.Devices.Client 1.42.0 to 1.42.2, calls to SendEventAsync take over one minute in comparison to ~700ms before.
Code sample exhibiting the issue
Console log of the issue
1.42.0
Sent event as device 00000001-4505-009d-5741-ec8495e2bc03 to IoT Hub (755.3321ms)
1.42.2
Sent event as device 00000001-4505-009d-5741-ec8495e2bc03 to IoT Hub (71925.7335ms)
The text was updated successfully, but these errors were encountered: