升级 RabbitMQ 到 3.11.12 后无法建立 AMQP 连接。

huangapple go评论73阅读模式
英文:

No AMQP connection after upgrade RabbitMQ to 3.11.12

问题

这个晚上,Plesk服务升级了我的Rabbitmq服务器到版本3.11.12-1(之前是3.11.11-1)。
现在我遇到了远程AMQP连接的问题,服务器拒绝了所有连接尝试。

有任何想法吗?
提前感谢您。

我如何再次连接到服务器。

英文:

this night the plesk service has updated my Rabbitmq server with version 3.11.12-1 (old 3.11.11-1).
Now I have a problem with remote AMQP connection. the server rejected all connection attemps.

2023-03-31 06:26:04.674063+02:00 [error] <0.763.0> closing AMQP connection <0.763.0> (192.168.245.66:40692 -> 192.168.245.66:5672):
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0> {handshake_error,opening,0,
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>     {error,badarg,'connection.open',
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>         [{ets,lookup_element,
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>              [ranch_server,{listener_sup,{acceptor,{0,0,0,0,0,0,0,0},5672}},2],
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>              [{error_info,#{cause => badkey,module => erl_stdlib_errors}}]},
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>          {ranch_server,get_listener_sup,1,
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>              [{file,"src/ranch_server.erl"},{line,122}]},
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>          {ranch,info,1,[{file,"src/ranch.erl"},{line,434}]},
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>          {rabbit_reader,is_over_node_connection_limit,1,
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>              [{file,"rabbit_reader.erl"},{line,1329}]},
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>          {rabbit_reader,handle_method0,2,
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>              [{file,"rabbit_reader.erl"},{line,1225}]},
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>          {rabbit_reader,handle_method0,3,
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>              [{file,"rabbit_reader.erl"},{line,1128}]},
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>          {rabbit_reader,handle_input,3,
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>              [{file,"rabbit_reader.erl"},{line,1032}]},
2023-03-31 06:26:04.674063+02:00 [error] <0.763.0>          {rabbit_reader,recvloop,4,[{file,"rabbit_reader.erl"},{line,472}]}]}}

Any ideas?
Thanks in advance

How can I connect to the server again.

答案1

得分: 2

这显然是版本 3.11.12-1 中的一个错误。通过回滚到 3.11.11-1 版本来修复。例如在 Debian 上:

apt remove rabbitmq-server
apt install rabbitmq-server=3.11.11-1
英文:

Apparently this is a bug in version 3.11.12-1. Fixed by rolling back to 3.11.11-1. For example on Debian:

apt remove rabbitmq-server
apt install rabbitmq-server=3.11.11-1

huangapple
  • 本文由 发表于 2023年3月31日 19:08:44
  • 转载请务必保留本文链接:https://go.coder-hub.com/75897843.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定