-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nacos 0.8.0 cluster environment occurred to find local peer: 127.0.0.1:8848 error #770
Comments
Nacos 0.8.0 cluster environment occurred to find local peer: 127.0.0.1:8848 errorThe nacos.log information is as follows: The naming-raft.log information is as follows: The cluster.conf file is as follows: |
当我将每个节点的cluster.conf中对应自身ip的配置换成127.0.0.1,如下: 192.168.0.20机器的cluster.conf配置: 192.168.0.21机器的cluster.conf配置: |
nacos.log信息如下:
java.lang.IllegalStateException: unable to find local peer: 127.0.0.1:8848, all peers: [192.168.0.20:8848, 192.168.0.21:8848, 192.168.0.19:8848]
at com.alibaba.nacos.naming.raft.PeerSet.local(PeerSet.java:191)
at com.alibaba.nacos.naming.monitor.PerformanceLoggerThread.collectmetrics(PerformanceLoggerThread.java:114)
naming-raft.log信息如下:
2019-02-15 16:14:45,001 WARN [IS LEADER] no leader is available now!
host文件如下:
cluster.conf文件如下:
#it is ip
#example
192.168.0.19:8848
192.168.0.20:8848
192.168.0.21:8848
The text was updated successfully, but these errors were encountered: