On linux, proton uses the cyrus-sasl libraries. Different mechanisms are often pacakged separately. So if on linux, check that you have the right cyrus sasl plugin installed.
On Tue, Mar 19, 2024 at 11:33 AM abdelrhman abdelhmaed <[email protected]> wrote: > > Hi, > I am using the qpid proton library to connect to Broker( Apache ActiveMQ > Artemis). > The authentication mechanism must be SALS SCRAM_SHA-256. > i tried to configure Qpid proton client to use this mechanism via the > following methods > > std::string MECHANISM = "SCRAM-SHA-256"; > ConnectionOptions.sasl_allowed_mechs(MECHANISM); > ConnectionOptions.sasl_allow_insecure_mechs(true); > ConnectionOptions.sasl_enabled(true); > ConnectionOptions.user("guest"); > ConnectionOptions.password("guest"); > > but it dont work out. I got the following error message > > amqp:unauthorized-access: Authentication failed [mech=none] > > so my question wether qpid proton client support this mechanism and if so, > how i am supposed to configure it --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
