-
Notifications
You must be signed in to change notification settings - Fork 258
IoTHub module: Unrecoverable crash #288
Comments
I sorry this happened. I'm looking into the error that led it into this state and seeing what we could do to avoid or mitigate this type of failure in the future. If it's possible, I'd like to get the specific version this is based on (commit id or tag, etc). The latest master version of iothubtransport_amqp_messenger.c is different and I want to make sure I'm looking at the correct version. Thanks! ETA: If we could get logs (not all 4G please!) around when the error seemed to start, that would be awesome. |
I don't have commit id or Tag. I can see the version i'm running is downloaded the 2nd of April after lunch. |
We see another problem we get this error every 1 hour and 11-12 min. And after that the gateway keep running.... |
Thank you @janfl - I'm going to consult with our device SDK team about this. |
Hi @darobs , Is the network connection on all the time? Or there are glitches? |
Do you generate some extra log for this module, because what i have done is to hook up to the Internal Gateway logger and that does not give me more errors then what i have send you. Do the module log other levels than Trace, Info or Error? (Could explain the missing log). I can't guaranty that the connection is on at all times. Do your module not support the loss of connection? |
Regarding the fatal crash with log files expanding we had it yesterday again. |
We do have connection recovery in AMQP with the Device SDK, but your connection seems to be exposing a bug. I was hoping this was something the SDK team had already experienced, and that a fix is in place. This doesn't seem to be the case, so I'm raising this issue with the devices SDK team, both on GitHub and in person so this get the attention it needs. |
Hi @darobs @ewertons @tameraw . Here is an update to the issue. Iot Edge service i based on: Here is part of the error files: We have a meeting with @DBojsen later today and i'll mention the issue. |
I have updated the submodule dependencies, which pulls in the 2017_06_30 release of the Device SDKs. This version of the Device SDK has improved reconnection logic with a retry policy, and I was promised better and less verbose logging. If you can, please update the edge build to include these changes, and then we can see how well the edge performs. |
Available in the 2017-08-21 release. |
Hi
I have an older version(2 mdr) of the GW running in production together with standard and custom modules.
I have experienced problems with the IotHub module.
I get this error in the log file.
iothubtransport_amqp_messenger.c
Function: process_state_changes:1530
message: messagereceiver reported unexpected state %d while messenger is starting
After i have received this message the module never recover and it keep failing with all kind of errors until GW is restarted. In one day it generated 4 GB log file with errors.
The text was updated successfully, but these errors were encountered: