-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Error Setup of JMS message listener invoker failed for destination <subscription> - trying to recover. Cause: The Session is closed #39136
Comments
@yiliuTo could you please take a look |
Hi @JinuJoseph79 ,Thank you for reporting this issue. We have received your submission and will take a look. We appreciate your input and will review this matter as soon as possible. |
Unable to get details about the error, suspect it is related to service bus server side, let's wait for their fix first |
Hi @JinuJoseph79. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue. |
Adding |
Hi @JinuJoseph79, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you! |
Hi, Is the fix from service bus rolled out? We still have the problem that sometime our backend stops listening to messages from servicebus. We see "Cause: Unknown error from remote peer" in the logs |
Hi @JinuJoseph79 , sorry for the late reply, could u help provide the namespace and region to check if its already deployed or not? |
Hi @Netyyyy , |
|
pinging @vinaysurya |
Hi @JinuJoseph79 , ServiceBus server side has a fix recently for premium tier. |
Describe the bug
We are using Azure service bus with topics and subscription. The messages in the subscription are processed by our springboot application deployed on Azure Web App. We use spring-cloud-azure-starter-servicebus-jms for sending and receiving messages. We have issue that web app stops listening to Service bus and messages are not processed. In the application insight logs we see "Setup of JMS message listener invoker failed for destination - trying to recover. Cause: The Session is closed" and ","Setup of JMS message listener invoker failed for destination '' - trying to recover. Cause: Unknown error from remote' for each of the subscription configured for listening.
Exception or Stack Trace
To Reproduce
Steps to reproduce the behavior: Its occurring randomly. In the past 3 months it has occurred around 4 or 5 times in Production
Code Snippet
We have followed Microsoft documentation for configuring our Service bus.
Use JMS in Spring to access Azure Service Bus - Java on Azure | Microsoft Learn
For listening we use
application.properties:
spring.jms.servicebus.connection-string=
spring.jms.servicebus.pricing-tier=Premium
spring.jms.servicebus.prefetch-policy.all=5
spring.jms.servicebus.prefetch-policy.durable-topic-prefetch=5
spring.jms.servicebus.prefetch-policy.topic-prefetch=5
spring.servicebus.concurrency=5-40
Expected behavior
Messages should be processed continuously without any disruption
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
If you suspect a dependency version mismatch (e.g. you see
NoClassDefFoundError
,NoSuchMethodError
or similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:mvn dependency:tree -Dverbose
)Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: