Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2006

Service Bus example doesnt work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • proton-c-0.27.0
    • proton-c-0.27.1
    • cpp-binding, examples
    • 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:

      1. Clone qpid-proton
      2. Follow installation and make README
      3. Create new Service Bus Namespace in azure
      4. Create new Service Bus Queue in Azure with Sessions enabled
      5. Create a policy with all permissions
      6. `./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)

       

      Attachments

        Activity

          People

            astitcher Andrew Stitcher
            oskar.christensson Oskar Christensson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: