Skip to content

Dapr unable to connect to Azure Service Bus Emulator #3674

@connorjose

Description

@connorjose

Expected Behavior

Dapr's Azure Service Bus binding should be able to connect to the ASB emulator.

Actual Behavior

Dapr reports that it is unable to subscribe to the ASB emulator topics.
WARN[0031] failed to subscribe to topics: failed to subscribe to topic topic-one: could not get topic topic-one: Get "https://localhost:5672/topic-one?api-version=2021-05": EOF failed to subscribe to topic topic-two: could not get topic topic-two: Get "https://localhost:5672/topic-two?api-version=2021-05": EOF

Steps to Reproduce the Problem

  1. Setup ASB emulator using docker
  2. Configure Dapr to connect to the emulator
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: example-pub-sub
spec:
  type: pubsub.azure.servicebus.topics
  version: v1
  metadata:
    - name: connectionString
      value: "Endpoint=sb://localhost:5672;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SAS_KEY_VALUE;UseDevelopmentEmulator=true;"

Dapr runtime version: 1.14.4

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions