-
Notifications
You must be signed in to change notification settings - Fork 26.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After the dubbo connection from consumer to provider is broken, the consumer does not rebuild the connection immediately, but waits for more than a minute before rebuilding the connection. #5234
Comments
cc @chickenlj |
I want to know how to kill -9 the connection. Kill -9 consumer ? |
@luyuanwan I use tcpkill to kill the connection from consumer to provider. |
I got the following log information. Obviously, after the heartbeat timeout, a new tcp connection is initiated. 2019-10-25 06:52:48.723 INFO 1 --- [eCheck-thread-1] o.a.d.r.e.s.header.ReconnectTimerTask : [DUBBO] Initial connection to HeaderExchangeClient [channel=org.apache.dubbo.remoting.transport.netty4.NettyClient [172.16.0.15:0 -> dubboprovider/10.247.251.34:20880]], dubbo version: 2.7.4, current host: 172.16.0.15 |
Ask for an answer |
00:24:26 [DubboClientReconnectTimer-thread-2] INFO com.alibaba.dubbo.remoting.transport.netty.NettyClient[101]: [DUBBO] Close old netty channel [id: 0xd4fa664e, /172.17.41.81:50104 :> /172.17.41.44:20880] on create new netty channel [id: 0xfa7fba17, /172.17.41.81:50526 => /172.17.41.44:20880], dubbo version: 2.8.5, current host: 172.17.41.81 |
I will check this issue later. |
I am using the new dubbo version 2.7.4, and I know the bugfix of #1968 and #4694 has been merge into 2.7.4 version, but I still met this problem.
Environment
Steps to reproduce this issue
Expected Result
Fast rebuild new connection when the connection is broken.
Actual Result
What actually happens?
The connection is rebuilt after more than one minute.
The text was updated successfully, but these errors were encountered: