-
Notifications
You must be signed in to change notification settings - Fork 26.6k
Open
Labels
status/waiting-for-feedbackNeed reporters to triageNeed reporters to triagetype/discussionEverything related with code discussion or questionEverything related with code discussion or question
Description
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 feature requirement.
Apache Dubbo Component
Java SDK (apache/dubbo)
Descriptions
zookeeper registry address set parameter timeout = 600000Ms not effect,after 15000Ms connect timeout report exception:
[2025-12-04 17:58:40,221] [ERROR] [Curator-Framework-0] [o.a.c.f.i.CuratorFrameworkImpl:617] - Background retry gave up
org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss
at org.apache.curator.framework.imps.CuratorFrameworkImpl.performBackgroundOperation(CuratorFrameworkImpl.java:840) [curator-framework-5.8.0.jar!/:5.8.0]
at org.apache.curator.framework.imps.CuratorFrameworkImpl.backgroundOperationsLoop(CuratorFrameworkImpl.java:795) [curator-framework-5.8.0.jar!/:5.8.0]
at org.apache.curator.framework.imps.CuratorFrameworkImpl.access$300(CuratorFrameworkImpl.java:77) [curator-framework-5.8.0.jar!/:5.8.0]
at org.apache.curator.framework.imps.CuratorFrameworkImpl$4.call(CuratorFrameworkImpl.java:315) [curator-framework-5.8.0.jar!/:5.8.0]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.base/java.lang.Thread.run(Thread.java:842) [?:?]
Can the CuratorFrameworkUtils#buildCuratorFramework method set the timeout parameter in the URL to builder.connectionTimeoutMs? Currently, its default value is 15000ms:
Related issues
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
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
status/waiting-for-feedbackNeed reporters to triageNeed reporters to triagetype/discussionEverything related with code discussion or questionEverything related with code discussion or question
Type
Projects
Status
Todo