Azure ServiceBus Webpack Issue #18217
Unanswered
AdrianMcGrathFlailsoft
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Can you provide more details - errors/messages/warnings? What is broken and doesn't work? How do you use the library? What is the configuration? Do you have externals? Can you provide a webpack configuration? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a fairly basic consumer for Azure ServiceBus, which we are building with webpack. When we deployed it a month ago, we noticed it was not able to consume messages. It would just sit there and hang after establishing a connection. On the ServiceBus side, it appears that it was attempting to send a message to the consumer, but the consumer was just never getting it or not reacting to it or something like that. If we ran it locally, it would work fine. If we ran it in Azure, it wouldn't consume. We opened a support ticket with Azure where we investigated a handful of different things.
Eventually, we realized that when we ran it locally unbuilt (typescript), it was fine. But after we built it with webpack and tried to run the built code, we would see the same issues as we do when we deploy it. This leaves us believing that there is some kind of issue in the webpack build where it is silently breaking the functionality of the Azure ServiceBus library.
Azure support at this point has been extremely unhelpful. They insist their library works fine with webpack, even though we were able to send them a very basic example of the issue being replicated. Clearly, we aren't going to get much help from them on this issue.
Can anyone provide any good suggestions or tips for how we can properly investigate this on our side? We don't know if some critical dependency is getting tree-shaked out or something like that, and we aren't really sure how to figure that out either.
Beta Was this translation helpful? Give feedback.
All reactions