Skip to content

Support for local Service bus Emulator? #66

@MikeYeager

Description

@MikeYeager

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions