thasmo Posted March 13, 2021 Share Posted March 13, 2021 Created a two-shard server cluster, but the non-master shard can't connect to the master shard. Quote [Shard] Connection to master failed. Waiting to reconnect... Both servers are on separate machines (two docker containers) and have their own internal IP addresses and hostnames. When running `ping overworld` on the `underworld` server, it can ping it successfully. I've attached the config directories for both servers and I would appreciate any help on this. Thanks a lot! cluster.zip Link to comment https://forums.kleientertainment.com/forums/topic/127920-shard-cant-connect-to-master-server/ Share on other sites More sharing options...
Daniel86268 Posted March 13, 2021 Share Posted March 13, 2021 I've never worked with DST servers in docker containers, or with docker containers in general, but from my understanding they have to connect to eachother over network, and for that you might have to at least designate the IP-Address of the master Server (Overworld) in the Underworld shard's cluster.ini as they might otherwise try to communicate over the local IP (0.0.0.0 or 127.0.0.1), which might not net any results. For reference take a look at these options. Link to comment https://forums.kleientertainment.com/forums/topic/127920-shard-cant-connect-to-master-server/#findComment-1437924 Share on other sites More sharing options...
thasmo Posted March 13, 2021 Author Share Posted March 13, 2021 @Daniel86268, indeed. That's what I did in setting `[shard] master_ip` to the master server's internal hostname `overworld`. This is what worked before, but I guess either something has changed or I am missing something. Link to comment https://forums.kleientertainment.com/forums/topic/127920-shard-cant-connect-to-master-server/#findComment-1437938 Share on other sites More sharing options...
thasmo Posted March 13, 2021 Author Share Posted March 13, 2021 Nevermind. I just overlooked that I did set different cluster_key values for both servers. Link to comment https://forums.kleientertainment.com/forums/topic/127920-shard-cant-connect-to-master-server/#findComment-1437950 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.