You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/04/11 17:08:00 UTC

[jira] [Commented] (PROTON-2006) Service Bus example doesnt work

    [ https://issues.apache.org/jira/browse/PROTON-2006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16815631#comment-16815631 ] 

ASF subversion and git services commented on PROTON-2006:
---------------------------------------------------------

Commit 37e6a68de7dce46dcec13ca00415bb169934b747 in qpid-proton's branch refs/heads/0.27.x from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=37e6a68 ]

PROTON-2006: [C++] Fixed up service bus example to work
- Connection options needed fixing
-- You can't put user/password in the connection url anymore
-- Need to turn SSL on and ensure SASL mech is PLAIN
- Misuse of scheduling stopped the application exiting when finished

(cherry picked from commit eab1fef19b4e58a8b79408f29e10fe36b07a3b83)


> Service Bus example doesnt work
> -------------------------------
>
>                 Key: PROTON-2006
>                 URL: https://issues.apache.org/jira/browse/PROTON-2006
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding, examples
>    Affects Versions: proton-c-0.27.0
>            Reporter: Oskar Christensson
>            Assignee: Andrew Stitcher
>            Priority: Minor
>             Fix For: proton-c-0.27.1, proton-c-0.28.0
>
>
>  
> {code:java}
> amqp:connection:framing-error: SASL header mismatch: Insufficient data to determine protocol [''] (connection aborted){code}
> 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:
> {code:java}
> amqp:connection:framing-error: SASL header mismatch: Insufficient data to determine protocol [''] (connection aborted){code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org