PROTON PYTHON CLIENT BROKER LOG 2018-06-29 12:32:50,399 INFO [org.apache.activemq.artemis] AMQ241001: HTTP Server started at http://0.0.0.0:8161 2018-06-29 12:32:50,399 INFO [org.apache.activemq.artemis] AMQ241002: Artemis Jolokia REST API available at http://0.0.0.0:8161/console/jolokia 2018-06-29 12:32:50,399 INFO [org.apache.activemq.artemis] AMQ241004: Artemis Console available at http://0.0.0.0:8161/console 2018-06-29 12:32:50,704 DEBUG [org.apache.activemq.artemis.core.server.reload.ReloadManagerImpl] Validating lastModified 1530267852000 modified = 1530267852000 on file:/opt/ldap_broker/etc//broker.xml 2018-06-29 12:32:55,704 DEBUG [org.apache.activemq.artemis.core.server.reload.ReloadManagerImpl] Validating lastModified 1530267852000 modified = 1530267852000 on file:/opt/ldap_broker/etc//broker.xml 2018-06-29 12:33:00,705 DEBUG [org.apache.activemq.artemis.core.server.reload.ReloadManagerImpl] Validating lastModified 1530267852000 modified = 1530267852000 on file:/opt/ldap_broker/etc//broker.xml 2018-06-29 12:33:05,705 DEBUG [org.apache.activemq.artemis.core.server.reload.ReloadManagerImpl] Validating lastModified 1530267852000 modified = 1530267852000 on file:/opt/ldap_broker/etc//broker.xml 2018-06-29 12:33:10,707 DEBUG [org.apache.activemq.artemis.core.server.reload.ReloadManagerImpl] Validating lastModified 1530267852000 modified = 1530267852000 on file:/opt/ldap_broker/etc//broker.xml 2018-06-29 12:33:15,707 DEBUG [org.apache.activemq.artemis.core.server.reload.ReloadManagerImpl] Validating lastModified 1530267852000 modified = 1530267852000 on file:/opt/ldap_broker/etc//broker.xml 2018-06-29 12:33:17,049 DEBUG [org.apache.activemq.artemis.core.server.impl.QueueImpl] Scanning for expires on kornys 2018-06-29 12:33:17,053 DEBUG [org.apache.activemq.artemis.core.server.impl.QueueImpl] Scanning for expires on kornys done 2018-06-29 12:33:17,054 DEBUG [org.apache.activemq.artemis.core.server.impl.QueueImpl] Scanning for expires on DLQ 2018-06-29 12:33:17,055 DEBUG [org.apache.activemq.artemis.core.server.impl.QueueImpl] Scanning for expires on DLQ done 2018-06-29 12:33:20,708 DEBUG [org.apache.activemq.artemis.core.server.reload.ReloadManagerImpl] Validating lastModified 1530267852000 modified = 1530267852000 on file:/opt/ldap_broker/etc//broker.xml 2018-06-29 12:33:25,709 DEBUG [org.apache.activemq.artemis.core.server.reload.ReloadManagerImpl] Validating lastModified 1530267852000 modified = 1530267852000 on file:/opt/ldap_broker/etc//broker.xml 2018-06-29 12:33:25,829 DEBUG [io.netty.util.Recycler] -Dio.netty.recycler.maxCapacityPerThread: 32768 2018-06-29 12:33:25,830 DEBUG [io.netty.util.Recycler] -Dio.netty.recycler.maxSharedCapacityFactor: 2 2018-06-29 12:33:25,830 DEBUG [io.netty.util.Recycler] -Dio.netty.recycler.linkCapacity: 16 2018-06-29 12:33:25,830 DEBUG [io.netty.util.Recycler] -Dio.netty.recycler.ratio: 8 2018-06-29 12:33:26,191 DEBUG [org.apache.activemq.artemis.protocol.amqp.proton.handler.ProtonHandler] onSaslInit: SaslImpl [_outcome=PN_SASL_NONE, state=PN_SASL_STEP, done=false, role=SERVER] 2018-06-29 12:33:26,208 DEBUG [org.apache.activemq.artemis.protocol.amqp.proton.handler.ProtonHandler] saslComplete: SaslImpl [_outcome=PN_SASL_NONE, state=PN_SASL_STEP, done=false, role=SERVER] 2018-06-29 12:33:26,208 FINE [org.apache.qpid.proton.engine.impl.SaslImpl] SASL negotiation done: SaslImpl [_outcome=PN_SASL_AUTH, state=PN_SASL_FAIL, done=true, role=SERVER] 2018-06-29 12:33:26,563 DEBUG [org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl] RemotingServiceImpl::removing connection ID 8f0e93a0 CLIENT OUTPUT enmasse opt $ cli-proton-python-sender --broker-url "amqp://testUser:secretPassword@/kornys" --log-lib TRANSPORT_FRM [0x16e92b0]: -> SASL [0x16e92b0]: <- SASL [0x16e92b0]:0 <- @sasl-mechanisms(64) [sasl-server-mechanisms=@PN_SYMBOL[:PLAIN, :ANONYMOUS]] [0x16e92b0]:0 -> @sasl-init(65) [mechanism=:PLAIN, initial-response=b"\x00testUser\x00secretPassword"] [0x16e92b0]:0 <- @sasl-outcome(68) [code=1] [0x16e92b0]: <- AMQP [0x16e92b0]: -> EOS Traceback (most recent call last): File "/usr/bin/cli-proton-python-sender", line 11, in sys.exit(main()) File "/usr/lib/python2.7/site-packages/cli_proton_python/sender.py", line 524, in main container.run() File "/usr/lib64/python2.7/site-packages/proton/reactor.py", line 148, in run while self.process(): pass File "/usr/lib64/python2.7/site-packages/proton/reactor.py", line 174, in process self._check_errors() File "/usr/lib64/python2.7/site-packages/proton/reactor.py", line 170, in _check_errors _compat.raise_(exc, value, tb) File "/usr/lib64/python2.7/site-packages/proton/__init__.py", line 3478, in dispatch ev.dispatch(self.handler) File "/usr/lib64/python2.7/site-packages/proton/__init__.py", line 3387, in dispatch result = dispatch(handler, type.method, self) File "/usr/lib64/python2.7/site-packages/proton/__init__.py", line 3267, in dispatch return handler.on_unhandled(method, *args) File "/usr/lib/python2.7/site-packages/cli_proton_python/coreclient.py", line 407, in on_unhandled raise ClientException(err_message) cli_proton_python.coreclient.ClientException: Transport error: amqp:unauthorized-access - Authentication failed [mech=PLAIN] http://pastebin.test.redhat.com/611006