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

Unhandled exception. Microsoft.Azure.ServiceBus.MessagingEntityNotFoundException: Put token failed. status-code: 404 #103

Open
timabell opened this issue Jan 20, 2025 · 0 comments

Comments

@timabell
Copy link

Crash when queue deleted on service bus after list already loaded in purple explorer

/home/tim/repo/PurpleExplorer/PurpleExplorer/bin/Debug/net9.0/PurpleExplorer
Unhandled exception. Microsoft.Azure.ServiceBus.MessagingEntityNotFoundException: Put token failed. status-code: 404, status-description: The messaging entity 'sb://REDACTED.servicebus.windows.net/REDACTED/$management' could not be found. To know more visit https://aka.ms/sbResourceMgrExceptions.  TrackingId:ebabefe9-9208-45c9-aa85-e0137e63f3e4_G29, SystemTracker:REDACTED/$management, Timestamp:2025-01-20T16:53:32.
   at Microsoft.Azure.ServiceBus.Core.MessageReceiver.OnPeekAsync(Int64 fromSequenceNumber, Int32 messageCount)
   at Microsoft.Azure.ServiceBus.Core.MessageReceiver.<>c__DisplayClass79_0.<<PeekBySequenceNumberAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Azure.ServiceBus.RetryPolicy.RunOperation(Func`1 operation, TimeSpan operationTimeout)
   at Microsoft.Azure.ServiceBus.RetryPolicy.RunOperation(Func`1 operation, TimeSpan operationTimeout)
   at Microsoft.Azure.ServiceBus.Core.MessageReceiver.PeekBySequenceNumberAsync(Int64 fromSequenceNumber, Int32 messageCount)
   at PurpleExplorer.Helpers.QueueHelper.GetMessages(ServiceBusConnectionString connectionString, String queueName) in /home/tim/repo/PurpleExplorer/PurpleExplorer/Helpers/QueueHelper.cs:line 48
   at PurpleExplorer.ViewModels.MainWindowViewModel.FetchQueueMessages() in /home/tim/repo/PurpleExplorer/PurpleExplorer/ViewModels/MainWindowViewModel.cs:line 267
   at PurpleExplorer.ViewModels.MainWindowViewModel.FetchMessages() in /home/tim/repo/PurpleExplorer/PurpleExplorer/ViewModels/MainWindowViewModel.cs:line 474
   at PurpleExplorer.Views.MainWindow.TreeView_SelectionChanged(Object sender, SelectionChangedEventArgs e) in /home/tim/repo/PurpleExplorer/PurpleExplorer/Views/MainWindow.xaml.cs:line 82
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Avalonia.Threading.AvaloniaSynchronizationContext.<>c__DisplayClass5_0.<Post>b__0() in /_/src/Avalonia.Base/Threading/AvaloniaSynchronizationContext.cs:line 33
   at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority) in /_/src/Avalonia.Base/Threading/JobRunner.cs:line 37
   at Avalonia.X11.X11PlatformThreading.CheckSignaled() in /_/src/Avalonia.X11/X11PlatformThreading.cs:line 164
   at Avalonia.X11.X11PlatformThreading.RunLoop(CancellationToken cancellationToken) in /_/src/Avalonia.X11/X11PlatformThreading.cs:line 244
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in /_/src/Avalonia.Base/Threading/Dispatcher.cs:line 65
   at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 120
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 209
   at PurpleExplorer.Program.Main(String[] args) in /home/tim/repo/PurpleExplorer/PurpleExplorer/Program.cs:line 13

Process finished with exit code 134.

Thanks for creating an cross platform alternative to service bus explorer, much appreciated. 🙏
Just logging this for information, no expectations of a response of any kind.

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

1 participant