Dont-Starve-Together-Docker-Cluster icon indicating copy to clipboard operation
Dont-Starve-Together-Docker-Cluster copied to clipboard

Connection to master failed

Open KirisameMarisas opened this issue 5 years ago • 3 comments

 About to start a shard with these settings:
Marisa    | [00:02:27]:   ShardName: Caves
Marisa    | [00:02:27]:   ShardID: 442951777
Marisa    | [00:02:27]:   ShardRole: SLAVE
Marisa    | [00:02:27]:   MasterHost: 127.0.0.1
Marisa    | [00:02:27]:   MasterBind: (null)
Marisa    | [00:02:27]:   MasterPort: 10888
Marisa    | [00:02:27]: [Shard] Connecting to master...
Marisa    | [00:02:37]: [Shard] Connection to master failed. Waiting to reconnect...

这是log信息

KirisameMarisas avatar Jul 23 '19 23:07 KirisameMarisas

Connection to master failed. Waiting to reconnect... oyx | [00:06:10]: About to start a shard with these settings: oyx | [00:06:10]: ShardName: Caves oyx | [00:06:10]: ShardID: 442951777 oyx | [00:06:10]: ShardRole: SLAVE oyx | [00:06:10]: MasterHost: 127.0.0.1 oyx | [00:06:10]: MasterBind: (null) oyx | [00:06:10]: MasterPort: 10888

我也遇到了这个问题 请问您解决了吗? @KirisameMarisas

oceanlvr avatar Sep 16 '19 11:09 oceanlvr

我也遇到了这个问题,应该是server是单核,但是这个配置是要双核的,把caves目录删了应该就可以了

ChopperLee2011 avatar Nov 30 '19 15:11 ChopperLee2011

cluster.ini里面的master_ip改为127.0.0.1就不显示这个,而是显示 2020-08-07T14:08:10.897618754Z [00:01:03]: [Shard] secondary shard LUA is now ready! 2020-08-07T14:08:10.912855078Z [00:01:03]: Sim paused 2020-08-07T14:08:15.224056193Z [00:01:08]: Registering master server in US lobby

yanxin152133 avatar Aug 07 '20 14:08 yanxin152133