noodlefrenzy / node-amqp10

amqp10 is a promise-based, AMQP 1.0 compliant node.js client
MIT License
134 stars 56 forks source link

Cannot read property 'write' of null and keep crashing #340

Open geoffreysamper opened 6 years ago

geoffreysamper commented 6 years ago

Hi,

I have a node azure web that sents data to eventhub. At some point in time the application receives an error from eventhub and the amqplcient tries to reconnect the strange part is that even after connection is etablished the client is not able to send messages because the error keep coming and the only way to fix the error is to let the application crash.
Do you have any advice how we could tackle this issue? to enable the debug:* is not really possible because I process 1000 events in a second.