Skip to content
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

[Bug] Consumer reconnects every 3 mins #15044

Open
3 of 4 tasks
KeroZhai opened this issue Jan 9, 2025 · 0 comments
Open
3 of 4 tasks

[Bug] Consumer reconnects every 3 mins #15044

KeroZhai opened this issue Jan 9, 2025 · 0 comments
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage

Comments

@KeroZhai
Copy link

KeroZhai commented Jan 9, 2025

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

Dubbo 3.2.10, OpenJDK 8, CentOS 7

Steps to reproduce this issue

Start both the provider and consumer, and the consumer reconnects every 3 minutes, showing the log below:

2025-01-09 09:43:36.006  INFO 25751 --- [lientWorker-4-8] o.a.d.r.t.netty4.NettyClientHandler      :  [DUBBO] The connection of /172.17.0.1:38728 -> /172.17.0.1:20882 is established., dubbo version: 3.2.10, current host: 172.17.0.1
2025-01-09 09:43:36.006  INFO 25751 --- [onnect-thread-1] o.a.d.r.transport.netty4.NettyClient     :  [DUBBO] Close old netty channel [id: 0xa60411cd, L:/172.17.0.1:37798 ! R:/172.17.0.1:20882] on create new netty channel [id: 0x7518bc1f, L:/172.17.0.1:38728 - R:/172.17.0.1:20882], dubbo version: 3.2.10, current host: 172.17.0.1
2025-01-09 09:43:36.006  INFO 25751 --- [onnect-thread-1] o.a.d.remoting.transport.AbstractClient  :  [DUBBO] Successfully connect to server /172.17.0.1:20882 from NettyClient 172.17.0.1 using dubbo version 3.2.10, channel is NettyChannel [channel=[id: 0x7518bc1f, L:/172.17.0.1:38728 - R:/172.17.0.1:20882]], dubbo version: 3.2.10, current host: 172.17.0.1
2025-01-09 09:46:36.082  INFO 25751 --- [lientWorker-4-8] o.a.d.r.t.netty4.NettyClientHandler      :  [DUBBO] The connection of /172.17.0.1:38728 -> /172.17.0.1:20882 is disconnected., dubbo version: 3.2.10, current host: 172.17.0.1

Besides, method calls to provider might fail when the connection is disconnected but not yet established due to 'No provider'.

What you expected to happen

The connection stays connected.

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

@KeroZhai KeroZhai added component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage labels Jan 9, 2025
@KeroZhai KeroZhai changed the title [Bug] Client reconnects every 3 mins [Bug] Consumer reconnects every 3 mins Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage
Projects
Status: Todo
Development

No branches or pull requests

1 participant