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 2015/06/01 23:46:20 UTC

[jira] [Commented] (QPIDJMS-63) SASL ANONYMOUS doesn't seem to work against the C++ broker

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

ASF subversion and git services commented on QPIDJMS-63:
--------------------------------------------------------

Commit 74acf459f9dfcc2c8ead510d41dcfdcf053bc80b in qpid-jms's branch refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=74acf45 ]

https://issues.apache.org/jira/browse/QPIDJMS-63

Apply patch from scholzj to resolve issues with SASL ANONYMOUS and the
C++ broker.  

> SASL ANONYMOUS doesn't seem to work against the C++ broker
> ----------------------------------------------------------
>
>                 Key: QPIDJMS-63
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-63
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>    Affects Versions: 0.2.0
>            Reporter: Jakub Scholz
>            Priority: Minor
>         Attachments: QPIDJMS-63.patch
>
>
> It looks like the same problem which was described and fixed for SASL EXTERNAL in QPIDJMS-33 is present also for the ANONYMOUS mechanism (broker log): 
> {code}
> 2015-06-01 21:01:59 [Network] info Set TCP_NODELAY on connection to 192.168.1.241:57519
> 2015-06-01 21:01:59 [Broker] info Using AMQP 1.0 (with SASL layer)
> 2015-06-01 21:01:59 [Security] info SASL: Mechanism list: ANONYMOUS
> 2015-06-01 21:01:59 [Protocol] debug qpid.172.17.0.15:5672-192.168.1.241:57519 Sent SASL-MECHANISMS(ANONYMOUS) 31
> 2015-06-01 21:01:59 [Protocol] debug qpid.172.17.0.15:5672-192.168.1.241:57519 writing protocol header: 1-0
> 2015-06-01 21:01:59 [Protocol] debug qpid.172.17.0.15:5672-192.168.1.241:57519 Received SASL-INIT(ANONYMOUS, )
> 2015-06-01 21:01:59 [Security] info SASL: Starting authentication with mechanism: ANONYMOUS
> 2015-06-01 21:01:59 [Protocol] debug qpid.172.17.0.15:5672-192.168.1.241:57519 Sent SASL-CHALLENGE() 22
> 2015-06-01 21:01:59 [Security] info qpid.172.17.0.15:5672-192.168.1.241:57519 Challenge issued
> 2015-06-01 21:02:09 [System] error Connection qpid.172.17.0.15:5672-192.168.1.241:57519 No protocol received after 10s, closing
> 2015-06-01 21:02:09 [Security] info qpid.172.17.0.15:5672-192.168.1.241:57519 Connection closed prior to authentication completing
> 2015-06-01 21:02:09 [Security] info qpid.172.17.0.15:5672-192.168.1.241:57519 Connection closed prior to authentication completing
> {code}
> This occurs only when the authentication is enabled in the AMQP broker. When the broker is started without authentication (--auth=no option) it actually works fine. Only when the ANONYMOUS mechanism is enabled as a part of the regular authentication, this error appears.
> The solution seems to be the same as in QPIDJMS-33. I.e. setting the initial response to EMPTY instead of null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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