Rabbitmq - 错误:无法在节点 rabbitmq@NT-0000 上执行操作

问题描述

我尝试创建一个连接来自不同服务器的 2 个队列

当我输入这个命令时:

$rabbitmqctl set_parameter shovel my-shovel-name ^ 
"{""src-protocol"" = ""amqp091"",""src-uri"" = ""amqp://usernameServer1:passwordServer1@serverIp:5672/source-vhost"",""src-queue"" = ""my-source-queue"",""dest-protocol"" = ""amqp091"",""dest-uri"" =""amqp://usernameServer2:passwordServer2@serverIp:5672/dest-vhost"",""dest-queue"" = ""my-dest-queue""}"

我收到这条消息:

Error: unable to perform an operation on node 'rabbit@NT-0000'. Please see diagnostics @R_29_4045@ion and suggestions below.

Most common reasons for this are:

 * Target node is unreachable (e.g. due to hostname resolution,TCP connection or firewall issues)
 * CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)
 * Target node is not running

In addition to the diagnostics info below:

 * See the CLI,clustering and networking guides on https://rabbitmq.com/documentation.html to learn more
 * Consult server logs on node rabbit@NT-04664
 * If target node is configured to use long node names,don't forget to use --longnames with CLI tools

DIAGNOSTICS
===========

attempted to contact: ['rabbit@NT-0000']

rabbit@NT-04664:
  * connected to epmd (port 4369) on NT-0000
  * epmd reports node 'rabbit' uses port 25672 for inter-node and CLI tool traffic
  * TCP connection succeeded but Erlang distribution Failed

  * Authentication Failed (rejected by the remote node),please check the Erlang cookie


Current node details:
 * node name: 'rabbitmqcli-5956-rabbit@NT-0000'
 * effective user's home directory: C:\Users\matheus.mahnke
 * Erlang cookie hash: blur

当我通过网络界面创建相同的铲子时,它可以工作

我无法确定问题

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)