Skip to content
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

Have some problems lately with Azure Service Bus #372

Open
vIceBerg opened this issue Jul 1, 2018 · 2 comments
Open

Have some problems lately with Azure Service Bus #372

vIceBerg opened this issue Jul 1, 2018 · 2 comments

Comments

@vIceBerg
Copy link

vIceBerg commented Jul 1, 2018

Hi!

I'm using the 3.4 version for a while and this version worked well. But for some weeks now, I have a lot of troubles...

My app is working file for days, but at some point, the send method's promise never get resolved or rejected and the message is never sent to Azure.

I have to kill my app and restart it to make it works again.

I have event listeners on errorReceived and detached and they are not getting called.

My code is very simple:
return queuer.send(msg).then((state) => { logger.log(messageType, innerMessageId, via, retries, 'Message sent', state); }).catch((err) => { logger.log(messageType, innerMessageId, via, retries, 'Error while sending message', err); throw err; });

What should I do to get more detailed infos about what's going on? I really need to get this fixed asap.

Thanks for guiding me...

VB

@amarzavery
Copy link
Collaborator

These are typical issues seen in node-amqp10. It happens due to the library falling in incorrect state.
Moreover node-amqp10 is not being actively maintained. We are developing an sdk for service-bus. It is developed on top of rhea. There is an open PR.

We expect to release a version for Azure ServiceBus by the end of this month. Hopefully that can help solve some of your issues.

@vIceBerg
Copy link
Author

vIceBerg commented Jul 2, 2018

Hi.

Thanks, I'll keep an eye on this... and check to rewrite my code with rhea.

Meanwhile, is there something I could do to minimize that problem?

Thanks

VB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants