【问题标题】:AMQ212037: Connection failure in FROM Artemis 2.15.0AMQ212037:FROM Artemis 2.15.0 中的连接失败
【发布时间】:2021-03-17 04:50:28
【问题描述】:

在没有任何更改的情况下,我们在集群的三个节点之一中收到了以下问题。该节点在此问题后离开集群,客户端在此问题后无法连接到集群。

AMQ212037:检测到与 /172.50.45.19:40266 的连接失败:readAddress(..) 失败:对等方重置连接 [code=GENERIC_EXCEPTION]

2021-01-31 03:03:23,472 WARN [org.apache.activemq.artemis.core.client] AMQ212037: Connection failure to /172.50.45.19:40266 has been detected: readAddress(..) failed: Connection reset by peer [code=GENERIC_EXCEPTION]
2021-01-31 06:21:59,700 WARN [org.apache.activemq.artemis.core.client] AMQ212037: Connection failure to /172.50.45.43:36714 has been detected: readAddress(..) failed: Connection reset by peer [code=GENERIC_EXCEPTION]
2021-01-31 08:31:53,887 WARNING [sun.rmi.transport.tcp] RMI TCP Accept-0: accept loop for ServerSocket[addr=0.0.0.0/0.0.0.0,localport=37258] throws: java.io.IOException: The server sockets created using the LocalRMIServerSocketFactory only accept connections from clients running on the host where the RMI remote objects have been exported.
at sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(LocalRMIServerSocketFactory.java:114) [rt.jar:1.8.0_232]
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:405) [rt.jar:1.8.0_232]
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:377) [rt.jar:1.8.0_232]
at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_232]

使用的图片 - vromero/activemq-artemis:2.15.0

【问题讨论】:

  • 您是否在同一台机器上运行所有容器?你用的是什么客户端?你能分享你的连接网址吗?
  • 不,所有的pod都部署在k8s集群的不同节点上

标签: activemq-artemis artemiscloud


【解决方案1】:

此故障可能与 docker/network 问题有关。我不会在生产环境中使用 docker,请参阅 artemiscloud 在 Kubernetes 上运行 ActiveMQ Artemis。 你可以在https://artemiscloud.io/找到文档

【讨论】:

  • Artemis Cloud 与 K8s 中的 Artemis 集群有何不同?
  • 我可以查看任何文档吗?
  • 我已经用url website/doc artemiscloud.io更新了答案
猜你喜欢
  • 2020-03-08
  • 2019-04-29
  • 2021-06-23
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-07-14
  • 2023-03-23
相关资源
最近更新 更多