-
Notifications
You must be signed in to change notification settings - Fork 4
Not recovering from "The message container is being closed" #3
Comments
After running the Node-RED flow now for a while another symptom manifests itself: Repeatedly the
The connection I found the following issue that sounds similarly to what I'm seeing: https://github.com/Azure/azure-event-hubs/issues/184 So is the receiver functionality in the Azure Event Hub Client for Node.js unreliable in general? |
Hi @smuehlst, thanks for reporting this. I need some time to investigate. Will keep you posted! |
@smuehlst I'm trying to replicate here. Can you give me an idea after how long (minutes, hours ...) this error occurs. Do you have a complete output log of Node-Red you can share? Thx! |
@jantielens Thanks for looking into this!
What happens once a day and what maybe shadows the above error is what I described in my second comment. Apparently every day at around 04:30 h receiving of messages stops without any error in the log file, and the TCP/IP connections is gone. This happens from my home network with a DSL connection, and I am now pretty sure that this is the forced disconnect from my DSL provider that happens once in 24 hours. |
Apparently it is a known fact that receiving of messages from Azure IoT Hub can fail with a message like this one:
See for example:
https://stackoverflow.com/questions/42563043/azure-event-hub-servicebusexception-causing-skipped-messages
https://github.com/Azure/azure-event-hubs/issues/320
I'm currently trying the
node-red-contrib-azure-eventhub-receive
node and I'm seeing the above error message from time to time in the Node-RED log, and after that no further messages are received. Only a restart of Node-RED helps.I'm fairly new to Node-RED and node.js in general, so it's unclear to me whether one should handle this kind of error somehow in the Node-RED flow. Or should the
node-red-contrib-azure-eventhub-receive
be able to handle this situation gracefully and this is a bug?The text was updated successfully, but these errors were encountered: