rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

提示 close the connection to remote address

Open 1607004157 opened this issue 2 years ago • 12 comments
trafficstars

Before Creating the Bug Report

  • [X] I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • [X] I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment

centos7

RocketMQ version

4.4.0

JDK Version

jdk 1.8

Describe the Bug

一直提示close the connection to remote address[x.x.x.x:10909] result: true rocketmq是集群环境

Steps to Reproduce

NettyClientSelector_1|RocketmqRemoting:95|closeChannel: close the connection to remote address[x.x.x.x:10909] result: true

What Did You Expect to See?

能给出解决

What Did You See Instead?

NettyClientSelector_1|RocketmqRemoting:95|closeChannel: close the connection to remote address

Additional Context

No response

1607004157 avatar Oct 20 '23 00:10 1607004157

能贴一下截图吗

joeCarf avatar Oct 20 '23 02:10 joeCarf

能贴一下截图吗

image

1607004157 avatar Oct 20 '23 02:10 1607004157

看起来一直在关闭链接。有具体的复现步骤吗

joeCarf avatar Oct 20 '23 02:10 joeCarf

看起来一直在关闭链接。有具体的复现步骤吗

1、rocketmq是双主双从,配置的外网ip 2、业务应用启动起来后 一直报这个错(ip是其中部署rocketmq的一台服务器外网ip)3、进行telnet ip和端口都是通的,消息能正常发送和收到,但是一直报这个错

1607004157 avatar Oct 20 '23 02:10 1607004157

看了下代码里,打出这个log的地方有很多。但大多会有其他的warn 或者 error日志,辛苦看下是否有其他日志呢

joeCarf avatar Oct 20 '23 03:10 joeCarf

看了下代码里,打出这个log的地方有很多。但大多会有其他的warn 或者 error日志,辛苦看下是否有其他日志呢

代码中没有这个日志 是rocketmq底层打印出来的 有一台服务器不报这个 都是一样的配置

1607004157 avatar Oct 20 '23 03:10 1607004157

看了下代码里,打出这个log的地方有很多。但大多会有其他的warn 或者 error日志,辛苦看下是否有其他日志呢

代码中没有这个日志 是rocketmq底层打印出来的 有一台服务器不报这个 都是一样的配置

是rocketmq的代码。看下你的命令行中是否有其他日志打印出来。如果没有的话,由于这个日志和netty通信相关,我怀疑是不是防火墙或者端口的配置问题呢

joeCarf avatar Oct 20 '23 09:10 joeCarf

看了下代码里,打出这个log的地方有很多。但大多会有其他的warn 或者 error日志,辛苦看下是否有其他日志呢

代码中没有这个日志 是rocketmq底层打印出来的 有一台服务器不报这个 都是一样的配置

是rocketmq的代码。看下你的命令行中是否有其他日志打印出来。如果没有的话,由于这个日志和netty通信相关,我怀疑是不是防火墙或者端口的配置问题呢

只有这个日志 再没有其他的,防火墙是关着的,我进行telnet是通的

1607004157 avatar Oct 20 '23 09:10 1607004157

我也遇到这个问题,一直打印这个日志 RocketmqRemoting - closeChannel: close the connection to remote address[x.x.x.x:xxx] result: true

manyhelp avatar Dec 01 '23 07:12 manyhelp

same question

zhiliatom avatar Dec 08 '23 01:12 zhiliatom

一样,而且在同一个内网,所有端口都能互相访问

zuoHx580 avatar Apr 08 '24 05:04 zuoHx580

怎么解决的,我也遇到了

johnjob avatar Apr 16 '24 08:04 johnjob