dyrnq / springcloud-rocketmq-example

POC new features of rocketmq5
https://github.com/apache/rocketmq
0 stars 0 forks source link

org.apache.rocketmq.client.exception.MQBrokerException: CODE: 16 DESC: username cannot be null. BROKER: 192.168.88.123:11911 #5

Open dyrnq opened 1 month ago

dyrnq commented 1 month ago
root@0712f45cc138:/opt/rocketmq/bin# ./mqadmin clusterList -n n1:9876
#Cluster Name           #Broker Name            #BID  #Addr                  #Version              #InTPS(LOAD)     #OutTPS(LOAD)  #Timer(Progress)        #PCWait(ms)  #Hour         #SPACE    #ACTIVATED
org.apache.rocketmq.client.exception.MQBrokerException: CODE: 16  DESC: username cannot be null. BROKER: 192.168.88.123:11911
For more information, please visit the url, https://rocketmq.apache.org/docs/bestPractice/06FAQ
    at org.apache.rocketmq.client.impl.MQClientAPIImpl.getBrokerRuntimeInfo(MQClientAPIImpl.java:1833)
    at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.fetchBrokerRuntimeStats(DefaultMQAdminExtImpl.java:416)
    at org.apache.rocketmq.tools.admin.DefaultMQAdminExt.fetchBrokerRuntimeStats(DefaultMQAdminExt.java:287)
    at org.apache.rocketmq.tools.command.cluster.ClusterListSubCommand.printClusterBaseInfo(ClusterListSubCommand.java:227)
    at org.apache.rocketmq.tools.command.cluster.ClusterListSubCommand.execute(ClusterListSubCommand.java:96)
    at org.apache.rocketmq.tools.command.MQAdminStartup.main0(MQAdminStartup.java:177)
    at org.apache.rocketmq.tools.command.MQAdminStartup.main(MQAdminStartup.java:127)
DefaultCluster          q1                      0     192.168.88.123:11911                            0.00(,ms)         0.00(,ms)  0-0(0.0w, 0.0, 0.0)                  0.00          0.0000         false
org.apache.rocketmq.client.exception.MQBrokerException: CODE: 16  DESC: username cannot be null. BROKER: 192.168.88.123:12911
For more information, please visit the url, https://rocketmq.apache.org/docs/bestPractice/06FAQ
    at org.apache.rocketmq.client.impl.MQClientAPIImpl.getBrokerRuntimeInfo(MQClientAPIImpl.java:1833)
    at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.fetchBrokerRuntimeStats(DefaultMQAdminExtImpl.java:416)
    at org.apache.rocketmq.tools.admin.DefaultMQAdminExt.fetchBrokerRuntimeStats(DefaultMQAdminExt.java:287)
    at org.apache.rocketmq.tools.command.cluster.ClusterListSubCommand.printClusterBaseInfo(ClusterListSubCommand.java:227)
    at org.apache.rocketmq.tools.command.cluster.ClusterListSubCommand.execute(ClusterListSubCommand.java:96)
    at org.apache.rocketmq.tools.command.MQAdminStartup.main0(MQAdminStartup.java:177)
    at org.apache.rocketmq.tools.command.MQAdminStartup.main(MQAdminStartup.java:127)
DefaultCluster          q1                      1     192.168.88.123:12911                            0.00(,ms)         0.00(,ms)  0-0(0.0w, 0.0, 0.0)                  0.00          0.0000         false
org.apache.rocketmq.client.exception.MQBrokerException: CODE: 16  DESC: username cannot be null. BROKER: 192.168.88.123:13911
For more information, please visit the url, https://rocketmq.apache.org/docs/bestPractice/06FAQ
    at org.apache.rocketmq.client.impl.MQClientAPIImpl.getBrokerRuntimeInfo(MQClientAPIImpl.java:1833)
    at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.fetchBrokerRuntimeStats(DefaultMQAdminExtImpl.java:416)
    at org.apache.rocketmq.tools.admin.DefaultMQAdminExt.fetchBrokerRuntimeStats(DefaultMQAdminExt.java:287)
    at org.apache.rocketmq.tools.command.cluster.ClusterListSubCommand.printClusterBaseInfo(ClusterListSubCommand.java:227)
    at org.apache.rocketmq.tools.command.cluster.ClusterListSubCommand.execute(ClusterListSubCommand.java:96)
    at org.apache.rocketmq.tools.command.MQAdminStartup.main0(MQAdminStartup.java:177)
    at org.apache.rocketmq.tools.command.MQAdminStartup.main(MQAdminStartup.java:127)
DefaultCluster          q3                      0     192.168.88.123:13911                            0.00(,ms)         0.00(,ms)  0-0(0.0w, 0.0, 0.0)                  0.00          0.0000         false
org.apache.rocketmq.client.exception.MQBrokerException: CODE: 16  DESC: username cannot be null. BROKER: 192.168.88.123:14911
For more information, please visit the url, https://rocketmq.apache.org/docs/bestPractice/06FAQ
    at org.apache.rocketmq.client.impl.MQClientAPIImpl.getBrokerRuntimeInfo(MQClientAPIImpl.java:1833)
    at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.fetchBrokerRuntimeStats(DefaultMQAdminExtImpl.java:416)
    at org.apache.rocketmq.tools.admin.DefaultMQAdminExt.fetchBrokerRuntimeStats(DefaultMQAdminExt.java:287)
    at org.apache.rocketmq.tools.command.cluster.ClusterListSubCommand.printClusterBaseInfo(ClusterListSubCommand.java:227)
    at org.apache.rocketmq.tools.command.cluster.ClusterListSubCommand.execute(ClusterListSubCommand.java:96)
    at org.apache.rocketmq.tools.command.MQAdminStartup.main0(MQAdminStartup.java:177)
    at org.apache.rocketmq.tools.command.MQAdminStartup.main(MQAdminStartup.java:127)
DefaultCluster          q3                      1     192.168.88.123:14911                            0.00(,ms)         0.00(,ms)  0-0(0.0w, 0.0, 0.0)                  0.00          0.0000         false
dyrnq commented 1 month ago

config ak and sk in $ROCKETMQ_HOME/conf/tools.yml

accessKey: rocketmq
secretKey: 12345678