Error creating bean with name 'dubboBootstrapApplicationListener': Initialization of bean failed; nested exception is java.lang.IllegalStateException: zookeeper not connected
The project starts with the following error.
IllegalStateException: zookeeper not connected
First of all, the default connection timeout for dubbo registration is 5 seconds.
And the zookeeper server I connected to was a little slow to access, which caused the connection to time out.
Adjust the default registration time for dubbo to 200 seconds
The default registration timeout is 5 seconds
All others are 1 second
So I increased the timeout for other service calls as well.
If you only need to modify the registration timeout, just add or modify registry.
dubbo: registry: timeout: 200000 service: timeout: 200000 consumer: timeout: 200000 provider: timeout: 200000
- Calling Dubbo Service reported the following error (com.alibaba.dubbo.remoting.RemotingException) Causes and Solutions
- dubbo 2.5.4-SNAPSHOT dubbo-admin [How to Solve]
- [Solved] Zookeeper3.6.0 Error: Error contacting service. It is probably not running
- When installing zookeeper, you can view the process start, but the status display error: Error contacting service. It is probably not running
- [Solved] ZooKeeper Configurate Error: Error contacting service. It is probably not running.
- [Solved] zookeeper Error: OperationTimeoutException: KeeperErrorCode = OperationTimeout
- Dubbo Error: HTTP method names must be tokens
- [Solved] zookeeper Startup Error: already running as process
- [Solved] Chrome submission error: Form submission canceled because the form is not connected
- [Cadence Allegro PCB Design] error: Possible pin type conflict GND/VCC Power Connected to Output
- [Solved] PostgreSQL Remote Access Error: could not connect to server
- Spring-boot Use dubbo Error: ERROR 8404 o.s.boot.SpringApplication：Application run failed
- [Solved] hbase Startup Error: ERROR: Can’t get master address from ZooKeeper; znode data == null
- [Solved] PostgreSQL Error: Could not connect to server: no such file or directory
- [Solved] Error occurred during connect to primary: exception 3000301: Connection could not be established
- [Solved] Navicat Connect Error: Oracle library is not loaded.
- [Solved] jedis Connect redis Error: connect timed out
- Flutter Xcode Module not found or LibreSSL SSL_connect: SSL_ERROR_SYSCALL
- [Solved] error during connect: This error may indicate that the docker daemon is not running
- Error getting authority: Error initializing authority: Could not connect: No such file or directory