You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "KeroZhai (via GitHub)" <gi...@apache.org> on 2025/01/09 08:47:42 UTC

[I] [Bug] Client reconnects every 3 mins [dubbo]

KeroZhai opened a new issue, #15044:
URL: https://github.com/apache/dubbo/issues/15044

   ### Pre-check
   
   - [X] I am sure that all the content I provide is in English.
   
   
   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) 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 client 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
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Bug] Consumer reconnects every 3 mins [dubbo]

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #15044:
URL: https://github.com/apache/dubbo/issues/15044#issuecomment-2619111146

   Can you please provide a demo?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Bug] Consumer reconnects every 3 mins due to heartbeat check failure, and not about the network but serialization. [dubbo]

Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw commented on issue #15044:
URL: https://github.com/apache/dubbo/issues/15044#issuecomment-2996177486

   close it since the author hasn't responded for a long time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Bug] Consumer reconnects every 3 mins [dubbo]

Posted by "KeroZhai (via GitHub)" <gi...@apache.org>.
KeroZhai commented on issue #15044:
URL: https://github.com/apache/dubbo/issues/15044#issuecomment-2586243172

   > This may caused by heartbeat failure. Please check your network configuration.
   
   Yes, it is the heartbeat check failure, and not about the network but serialization. I have a serialization extension for the provider, which mainly provides a custom `JavaDeserializer` for Spring's `Order`. The api calls work fine, but it seems not for the heartbeat check.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Bug] Consumer reconnects every 3 mins due to heartbeat check failure, and not about the network but serialization. [dubbo]

Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw closed issue #15044: [Bug] Consumer reconnects every 3 mins due to heartbeat check failure, and not about the network but serialization.
URL: https://github.com/apache/dubbo/issues/15044


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Bug] Consumer reconnects every 3 mins [dubbo]

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #15044:
URL: https://github.com/apache/dubbo/issues/15044#issuecomment-2582694964

   This may caused by heartbeat failure. Please check your network configuration.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org