CrossBusExplorer icon indicating copy to clipboard operation
CrossBusExplorer copied to clipboard

Support for local Service bus Emulator?

Open MikeYeager opened this issue 6 months ago • 0 comments

Very nice application. Thank you for writing it. It works perfectly on my Azure Service Bus so far. I'm trying to connect to the (relatively new local Service Bus Emulator) and I'm getting a message that I can't connect:

System.AggregateException: Retry failed after 4 tries. Retry settings can be adjusted in ClientOptions.Retry or by configuring a custom retry policy in ClientOptions.RetryPolicy. (No connection could be made because the target machine actively refused it. (localhost:80))

At one point, it was returning the same message for port 443. In any case, I'm wondering if you have any ideas. The connection string for the local emulator is:

Endpoint=sb://localhost;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;

It works in my production app using the latest ServiceBusClient. I did try upgrading the Azure.Messaging.ServiceBus to the latest version, but it didn't seem to help. Thank you. The emulator would be great to work with, but with no tooling it's somewhat difficult. Thanks for your work on this.

MikeYeager avatar Jun 03 '25 23:06 MikeYeager