Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
拉分支配项目环境,Tomcat启动报错如下: 2018-11-05 16:06:49,837 WARN[org.apache.zookeeper.ClientCnxn] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnectjava.net...
·
拉分支配项目环境,Tomcat启动报错如下:
2018-11-05 16:06:49,837 WARN [org.apache.zookeeper.ClientCnxn] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection timed out: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
原因:zk连接地址错误,检查发现所有provider的zk地址端口都正确,但是漏了restful项目的zk地址配置没改,改过来就好了。
zookeeperAddr=zookeeper://127.0.0.1:2181
更多推荐
已为社区贡献1条内容
所有评论(0)