You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (Jira)" <ji...@apache.org> on 2020/11/05 18:45:00 UTC

[jira] [Commented] (PROTON-2276) Connect to Azure Service Bus using AMQP

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

Andrew Stitcher commented on PROTON-2276:
-----------------------------------------

Can you give us some more details? At this point there is no way for us to replicate your problem and investigate as you've given us no details.

If you can share the code that has this problem we might be able to go about replicating.

Bear in mind that authentication failures will not happen with service bus when you open the connection, but when you create the session I think.

Have you tried the C++ example 'service_bus'? Have you looked at it to see what it is doing and are you doing something similar?
Have you made sure that you are using TLS (and have compiled proton with ssl/tls support)?

Have you checked that there are no characters in the URL that need to be quoted? (this would screw up the authentication completely)

> Connect to Azure Service Bus using AMQP
> ---------------------------------------
>
>                 Key: PROTON-2276
>                 URL: https://issues.apache.org/jira/browse/PROTON-2276
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding
>         Environment: Ubuntu 20.04
> Qt Creator 4.13
> Qt 5.15
>            Reporter: Talysson de Castro
>            Priority: Blocker
>
> I am trying to use Qpid Proton to connect to Azure Service Bus using C++, but I am facing an error that doesn't make sense:
> amqp:unauthorized-access: Unauthorized access. 'Send' claim(s) are required to perform this operation. Resource: 'sb://mycompany.servicebus.windows.net/helloworld'. TrackingId:37fae3b406064eb09826fb3aa17577b1_G7, SystemTracker:gateway7, Timestamp:2020-09-02T17:31:56
>  
> The *key_name* and *key* that I set to the connection have root privileges (manage, send, listen). I am using the same credentials in a Java project and Python project, both are working fine.
> I saw some issues in other amqp projects leading to build the library from source, but I already did it (source from github, branch master)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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