Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
proton-c-0.27.0
-
None
Description
amqp:connection:framing-error: SASL header mismatch: Insufficient data to determine protocol [''] (connection aborted)
We're trying to get a C++ connection to Azure Service Bus using AMQP with QPID proton, and trying out the examples under qpid-proton/cpp/examples it fails.
Steps to reproduce:
- Clone qpid-proton
- Follow installation and make README
- Create new Service Bus Namespace in azure
- Create new Service Bus Queue in Azure with Sessions enabled
- Create a policy with all permissions
- `./service_bus -n <namespace>.servicebus.windows.net -p <policy_name> -k <uri_encoded_policy_key> -e <queue_name>
Expected results:
It should work according to the docs in the cpp/examples/service_bus.cpp docs
Actual results:
amqp:connection:framing-error: SASL header mismatch: Insufficient data to determine protocol [''] (connection aborted)