Hi, I was trying to connect to my broker with a C++ client based on qpid.messaging / AMQP 1.0 using the SSL Client Authentication (SASL EXTERNAL). But the client seems to complain about no available mechanism:
2013-08-08 20:07:01 [Messaging] debug Driver started 2013-08-08 20:07:01 [Messaging] debug localhost:10000 Connecting ... 2013-08-08 20:07:01 [System] info Connecting: 127.0.0.1:10000 2013-08-08 20:07:01 [Security] debug Failed to connect: Connection refused 2013-08-08 20:07:01 [Messaging] debug localhost:10000 Failed to connect Exception: Could not connect to amqp:ssl:localhost:10000 (/home/jakub/qpid/qpid-0.24-rc1/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp:117) 2013-08-08 20:07:01 [Messaging] debug Driver stopped [jakub@localhost Messaging-Sandbox]$ ./ReqRespClient 2013-08-08 20:07:50 [Messaging] debug Driver started 2013-08-08 20:07:50 [Messaging] debug localhost:10000 Connecting ... 2013-08-08 20:07:50 [System] info Connecting: 127.0.0.1:10000 2013-08-08 20:07:50 [Messaging] debug localhost:10000 Connected 2013-08-08 20:07:50 [Messaging] debug wakeupDriver() 2013-08-08 20:07:50 [Messaging] debug localhost:10000 Waiting to be authenticated... 2013-08-08 20:07:50 [Security] trace localhost:10000 Sasl::canEncode(): 1 || 0 2013-08-08 20:07:50 [Security] trace localhost:10000 Sasl::canEncode(): 1 || 0 2013-08-08 20:07:50 [Protocol] debug localhost:10000 writing protocol header: 1-0 2013-08-08 20:07:50 [Security] trace localhost:10000 Sasl::encode(65535): 8 2013-08-08 20:07:50 [Security] trace localhost:10000 Sasl::canEncode(): 0 || 0 2013-08-08 20:07:50 [Protocol] debug localhost:10000 read protocol header: 1-0 2013-08-08 20:07:50 [Security] trace Reading SASL frame of size 30 2013-08-08 20:07:50 [Security] trace Reading SASL-MECHANISMS 2013-08-08 20:07:50 [Protocol] debug localhost:10000 Received SASL-MECHANISMS(EXTERNAL) 2013-08-08 20:07:50 [Security] debug CyrusSasl::start(EXTERNAL ) 2013-08-08 20:07:50 [Security] debug min_ssf: 0, max_ssf: 256 2013-08-08 20:07:50 [System] debug Exception constructed: Sasl error: SASL(-4): no mechanism available: (/home/jakub/qpid/qpid-0.24-rc1/cpp/src/qpid/SaslFactory.cpp:309) 2013-08-08 20:07:50 [System] error Caught exception in state: 3 with event: 1: internal-error: Sasl error: SASL(-4): no mechanism available: (/home/jakub/qpid/qpid-0.24-rc1/cpp/src/qpid/SaslFactory.cpp:309) 2013-08-08 20:07:55 [Security] debug [127.0.0.1:34905-localhost:10000] SslTransport closing... 2013-08-08 20:07:55 [Security] debug [127.0.0.1:34905-localhost:10000] Socket closed Exception: Disconnected 2013-08-08 20:07:55 [Messaging] debug Driver stopped Is the EXTERNAL authentication already supported for AMQP 1.0 in 0.24 RC1? I know there are some open issues with the Proton Messenger (for example PROTON-333), but I'm not entirely sure how much is this part common between Proton Messenger and qpid.messaging. With AMQP 0.10, it seems to work fine. Thanks & Regards Jakub