Azure / azure-service-bus-emulator-installer

This repository acts as a central hub for handling issues, collecting feedback, and facilitating discussions related to the Azure Service Bus Emulator.
https://learn.microsoft.com/en-us/azure/service-bus-messaging/overview-emulator
MIT License
114 stars 2 forks source link

Can't connect via masstransit #28

Open Kolbkaa opened 3 days ago

Kolbkaa commented 3 days ago

I am trying to use the emulator with masstransit and when I try to send a message to the queue then masstransit tries to use https and the connection is blocked. I tried setting the port forwarding on the image to 433:433 but then I get “An established connection was aborted by the software in your host machine.”

Has anyone connected successfully through masstranist and have an example ?

Marusyk commented 2 days ago

Masstransit wants to create a topology but it seems this emulator doesn't support that (yet?) because this code also doesn't work

var m = new ServiceBusAdministrationClient(_connectionString);
await m.CreateTopicAsync("topic.11111");`

Error

'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:443)) (No connection could be made because the target machine actively refused it. (localhost:443)) (No connection could be made because the target machine actively refused it. (localhost:443)) (No connection could be made because the target machine actively refused it. (localhost:443))'

useless emulator for now