SASL config issue
Issue
I followed the guide, and am using the sasl template, but my client cannot connect to AMQ Interconnect using the user: admin
The error is as below:
2020-04-27 10:27:29.009123 +0000 SERVER (info) [C4] Connection from 10.130.2.1:39116 (to 0.0.0.0:5672) failed: amqp:unauthorized-access SASL(-13): user not found: Password verification failed (Failed to authenticate client [mech=PLAIN])
If I added one user through the command:
saslpasswd2 -c -f /opt/interconnect/etc/qdrouterd.sasldb fuse
My client can connect to AMQ connect successfully, from the log I can see:
2020-04-27 10:30:20.731256 +0000 SERVER (info) [C5] Accepted connection to 0.0.0.0:5672 from 10.130.2.1:40938
2020-04-27 10:30:20.793076 +0000 ROUTER (info) [C5] Connection Opened: dir=in host=10.130.2.1:40938 vhost= encrypted=no auth=PLAIN user=fuse container_id=ID:b7d767cf-1fba-40e7-b81f-6908ff7f8244:1 props={:product="QpidJMS", :version="0.47.0", :platform="JVM: 14.0.1, 14.0.1+7, Oracle Corporation, OS: Linux, 3.10.0-1062.4.3.el7.x86_64, amd64"}
2020-04-27 10:30:20.821249 +0000 ROUTER (info) [C5][L58] Link attached: dir=in source={ID:9458459e-26a1-41cc-830f-841456aca538:1:1:1 expire:sess outcomes:@PN_SYMBOL[:"amqp:accepted:list", :"amqp:rejected:list", :"amqp:released:list", :"amqp:modified:list"]} target={helloworld expire:sess caps:@PN_SYMBOL[:queue]}
2020-04-27 10:30:21.009543 +0000 ROUTER (info) [C2][L59] Link detached: del=16 presett=0 psdrop=0 acc=16 rej=0 rel=0 mod=0 delay1=0 delay10=0 blocked=no
2020-04-27 10:30:21.009675 +0000 ROUTER (info) [C5][L58] Link detached: del=16 presett=0 psdrop=0 acc=16 rej=0 rel=0 mod=0 delay1=0 delay10=0 blocked=no
2020-04-27 10:30:21.015353 +0000 ROUTER (info) [C5] Connection Closed
Environment
- Red Hat AMQ Interconnect 1.6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.