There is an error about the Zookeeper connection:
- Opening socket conection to server 127.0.0.1/127.0.0.1:2181 Will not atte pt to authenticate using SASL (unknown error) KeeperErrorCode = ConnectionLoss for /testorg.apache.zookeeper.KeeperException$OperationTimeoutException:KeeperErrorCode = OperationTimeout
To explain the above three questions; Build and configure zookeeper server locally on Windows, and then test the code. 1,2 problems occur. The problem of 3 is the problem reported by the project; There are no firewall, JAR, hosts conflicts, etc.
Solution: Look at your own configuration of Zoo.cfg
- dataDirdataLogDir
The path here is configured as a full path, such as D:\\Users\ WB \\ soft\\ Zookeeper -3.4.14\\ Data; D: \ \ Users \ wb \ \ soft \ \ zookeeper – 3.4.14 \ \ log; Notice the double backslash ‘\\’
Read More:
- Error in starting zookeeper in Windows: zookeeper audit is disabled
- zookeeper Failed to Startup: Error: JAVA_HOME is not set and java could not be found in PATH
- Git failed to authenticate
- error Unable to authenticate, need: BASIC realm=“Sonatype Nexus Repository Manager“
- Solve the problem of unable to start under zookeeper Linux
- Zookeeper connection timeout problem, and refused to connect to solve the problem
- seaborn.load_ Data set error urlerror: < urlopen error [winerror 10060] the connection attempt failed because the connecting party did not reply correctly after a period of time or the connected host did not respond
- Starting zookeeper to report an error already running as process
- The first installation of zookeeper on Linux failed to start
- Error: could’t connect to server 127.0.0.1:27017, connection attempt failed
- Mongodb uses Mongo to report error: could’t connect to server 127.0.0.1:27017, connection attempt failed: socket
- Running setup.py install for sasl … error
- Docker install zookeeper 3.6.2
- RuntimeError:An attempt has been made to start a new process before the……
- Starting zookeeper… Already running as process 1949
- PHP error Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error:
- Invalid attempt to spread non-iterable instance
- Failed: error connecting to db server: server returned error on SASL authentication step: Authentica
- Installing zookeeper under Linux system
- Zookeeper start error [How to Solve]