-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Getting Microsoft.Azure.ServiceBus.ServiceBusCommunicationException: The messaging entity 'evt-scu-prod-bus:Topic:publish_atlas|node1000000_4b9c90e9-c2ec-49f9-b295-d392f554faeb' could not be found. #7907
Comments
Seems like we are actually not able to create the subscription. The ManagementClient CreateSubscriptionAsync returns A Task was canceled with a stack trace of the following. Also happens with Microsoft.Azure.ServiceBus 4.0 nuget package. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) This is happening at: |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jfggdl |
1 similar comment
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jfggdl |
@schwartzma1, Thank you for raising this issue. Please provide the latest correlation id related to your problem if that is not the one found on the screenshot provided at the top. Another good channel for taking care of this kind of issues is creating a support request on the Azure Portal. Have you tried that? If so, please share the case id number. Thanks. |
@schwartzma1, would you please create a support request using the Azure Portal? It would be the most quicker approach for solving your issue. Please include the correlation id in the support request. Thanks. |
@jfggdl Yes we are creating a support request. Someone else on my team has created the ticket so I am not sure the details but I will post case number etc. if I can get that next week and post any resolution related to this issue. |
@schwartzma1 |
@schwartzma1, thanks. You are in good hands with Azure Support for this kind of issues. I will be closing this issue now, but please share the support request number and I will monitor its progress. We want you to have an answer to your core issue reported. |
Thanks for working with Microsoft on GitHub! Tell us how you feel about your experience using the reactions on this comment. |
Describe the bug
We are on Microsoft.Azure.ServiceBus 3.4.0 and our services were already running / we were receiving messages and then without any services starting / stopping or any configuration changes we are aware of we started getting this exception repeatedly that the Messaging Entity could not be found.
Exception or Stack Trace
Microsoft.Azure.ServiceBus.ServiceBusCommunicationException: The messaging entity 'evt-scu-prod-bus:Topic:publish_atlas|node1000000_4b9c90e9-c2ec-49f9-b295-d392f554faeb' could not be found. TrackingId:a88a3a8c-2400-428a-b3a6-efc6e3498b2d_B11, SystemTracker:evt-scu-prod-bus:Topic:publish_atlas|node1000000_4b9c90e9-c2ec-49f9-b295-d392f554faeb, Timestamp:2019-10-03T16:19:29 TrackingId:da260de14ab94faa877f87954a2cd36f_G4, SystemTracker:gateway5, Timestamp:2019-10-03T16:19:29
at Microsoft.Azure.ServiceBus.Core.MessageReceiver.d__86.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.ServiceBus.Core.MessageReceiver.<>c__DisplayClass64_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.ServiceBus.RetryPolicy.d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Azure.ServiceBus.RetryPolicy.d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.ServiceBus.Core.MessageReceiver.d__64.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.ServiceBus.Core.MessageReceiver.d__62.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.ServiceBus.MessageReceivePump.d__11.MoveNext()
AsyncTaskMethodBuilder.Start => d__21.MoveNext => AppConfigCache.ExceptionReceivedHandler
To Reproduce
Not sure of exact reproduction steps, however I am attaching code sample below and a stack of the error. Also creating subscriptions to this topic / deleting subscriptions from our Azure subscription give errors such as the following screensho with InternalServerError: An error occurred while sending the request.
Code Snippet
Our setup of the subscription looks like this:
TokenProvider credentials = TokenProvider.CreateSharedAccessSignatureTokenProvider(sbConfig.AccessKeyName, sbConfig.AccessKeyValue);
ServiceBusConnectionStringBuilder connectionBuilder = new ServiceBusConnectionStringBuilder(sbConfig.ConnectionString);
_managementClient = new ManagementClient(connectionBuilder, credentials);
`
Our message handlers look like:
`
#region ExceptionReceivedHandler
private Task ExceptionReceivedHandler(ExceptionReceivedEventArgs exceptionReceivedEventArgs)
{
AppLogger.Write(null, TraceEventType.Error, _fullName, nameof(ExceptionReceivedHandler), exceptionReceivedEventArgs.Exception.ToString());
Expected behavior
We would expect messaging entity not found error to not have happened in this case since this topic does exist and we did not change any configuration.
Setup (please complete the following information):
Additional context
This has been running mostly without issue in production for the past few months. We may have seen an exception or so like this before but now they are happening repeatedly.
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: