You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When consuming events from an Azure EventHub and testing resilience to network connectivity
losses, I see the rhea-promise library failing with an 'undefined' error.
I realise this is an EventHub related example, but I would not expect to be seeing an error
of this nature from a lower-level library surfacing in my code.
A minimal example of the code I'm using (with specific properties redacted):
@shabbyrobe
Since you're using @azure/event-hubs, I wanted to mention that on the Azure SDK side we recently discovered a reason for why TypeError can be thrown from rhea-promise: Azure/azure-sdk-for-js#8584
This comment in particular explains the steps that would need to happen to see this issue. We were able to fix this in version 5.2.1 of @azure/event-hubs for sending and receiving messages.
I wasn't able to reproduce this issue using just rhea-promise unless I called open on the connection while it was already open.
Describe the bug
When consuming events from an Azure EventHub and testing resilience to network connectivity
losses, I see the rhea-promise library failing with an 'undefined' error.
I realise this is an EventHub related example, but I would not expect to be seeing an error
of this nature from a lower-level library surfacing in my code.
A minimal example of the code I'm using (with specific properties redacted):
I start this script, then introduce network issues, and see the following error:
Expected behavior
I expect
EAI_AGAIN
to result in the library trying again, not erroring out.Package-version: 1.0.0
node.js version: 12.16.1
OS name and version: Ubuntu 18.04
The text was updated successfully, but these errors were encountered: