-
Notifications
You must be signed in to change notification settings - Fork 234
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
[Technical Question] Sending a response for the method that was never invoked #1465
Comments
What version of the SDK are you using here? |
SDK version 1.32.2 |
What the error here means is that the SDK attempted to send a direct method response, but for some reason it could not correlate it to a received direct method invocation. My guess is that the state that tracks this request/response correlation was wiped by a reconnection event. What the customer would probably experience here is that the method invocations would fail on the service client side even if the method took affect on the device client side. |
method response messages should always be sent. Tracking them like this only allowed issues like #1465 to happen if the state is lost somehow This state is already not tracked for methods in AMQP
#1468 should solve this issue so that the method response is always sent even if the SDK somehow loses track of the context about it. |
Device client version 1.34.2 has now been released and contains the fix for this behavior, so I'm closing this issue |
Hi,
Regularly, on devices we deployed and on our QA lab, we see episodes of TransportException. By episode, I means the IotHubTransport prints the error below for 37 seconds (from 02-08 02:46:44.072 to 02:47:21.379). There is 369 exceptions like that one in that period of time. Does someone have and explanation for this and if there is something we can do to fix this? QA and clients ask lots of questions about these exceptions. They think messages might be missed...
Thanks,
The text was updated successfully, but these errors were encountered: