thasmo Posted January 25, 2016 Share Posted January 25, 2016 When starting a cave-shard, the server automatically sets a random password in settings.ini which results in not being able to join the caves through sinkholes. Error is "Bad Password". What's going on, why is that and how can I disable this behavior? Link to comment https://forums.kleientertainment.com/forums/topic/63263-cave-server-gets-passworded-all-the-time/ Share on other sites More sharing options...
thasmo Posted January 26, 2016 Author Share Posted January 26, 2016 So, I've figured out that when running the server locally on my PC it works, although the slave server still sets a password for the server. Seems like this is done to prevent connecting to the shard directly. Still the question arises, why this doesn't work on my hosted server. Link to comment https://forums.kleientertainment.com/forums/topic/63263-cave-server-gets-passworded-all-the-time/#findComment-714129 Share on other sites More sharing options...
thasmo Posted January 27, 2016 Author Share Posted January 27, 2016 That's the relevant log lines of the slave-shard: [Shard] #1 -> session/EA3366C9953466D4/KU_x_/0000000003 [Shard] Received migration #1 data for (KU_x) [Shard] Migration by user ('KU_x') failed (174). I haven't found anything regarding error 174. Link to comment https://forums.kleientertainment.com/forums/topic/63263-cave-server-gets-passworded-all-the-time/#findComment-714527 Share on other sites More sharing options...
thasmo Posted January 28, 2016 Author Share Posted January 28, 2016 I've figured out the problem. It seems to be some weird thing related to the ports. When using port 20000 for the main server, it works. When using the defaul port 10999, I can connect to the server, but entering a sinkhole doesn't work as the migration fails. When using 20000 as port for the main server, migrations work. I have no idea why that is. Link to comment https://forums.kleientertainment.com/forums/topic/63263-cave-server-gets-passworded-all-the-time/#findComment-714887 Share on other sites More sharing options...
thasmo Posted February 4, 2016 Author Share Posted February 4, 2016 @nome @PeterA Any idea why this would happen? As long as the main server doesn't use 10999 as it's public port, it's possible to join the cave-server through sinkholes. Otherwise the log of the cave-server states `Migration by user ('KU_x') failed (174).`. I suppose it's Docker-related, but I'm wondering how the servers communicate between each other and which ports need to be available in which network etc. Thanks a lot! PS: I also noticed that servers running on a different port than 10999 do not show ping/latency in the DST ingame-server browser. I think. Link to comment https://forums.kleientertainment.com/forums/topic/63263-cave-server-gets-passworded-all-the-time/#findComment-717608 Share on other sites More sharing options...
Developer 255 Posted February 5, 2016 Developer Share Posted February 5, 2016 @thasmo: In the non-functional configuration, what do you have the following settings set to? server_port in the master settings.ini master_port in the master settings.ini server_port in the slave settings.ini master_port in the slave settings.ini Link to comment https://forums.kleientertainment.com/forums/topic/63263-cave-server-gets-passworded-all-the-time/#findComment-717659 Share on other sites More sharing options...
thasmo Posted February 5, 2016 Author Share Posted February 5, 2016 Server ports are 10999 for master and 11000 for slave, both use 10888 for the master port setting. Link to comment https://forums.kleientertainment.com/forums/topic/63263-cave-server-gets-passworded-all-the-time/#findComment-718048 Share on other sites More sharing options...
Developer 255 Posted February 5, 2016 Developer Share Posted February 5, 2016 Is there some sort of firewall on the server you're running? If a server that is on port 10999 shows a ping, and shows ??? when you change it to another port, it sounds like you have port 10999/UDP open in your firewall, but not the other port. If you do have a rule for 10999/UDP, could you make sure you also have one for 11000/UDP? Link to comment https://forums.kleientertainment.com/forums/topic/63263-cave-server-gets-passworded-all-the-time/#findComment-718072 Share on other sites More sharing options...
thasmo Posted March 20, 2016 Author Share Posted March 20, 2016 There's no firewall and the provider says all ports are open. @255, which ports need to be accessible publicly from the outside on the master and on the other game-servers? As running the game-servers via Docker is different from running a normal dedicated server network-wise, it would help me if I know as much as possible about which ports are used and which ports need to be open publicly. E.g. I'm running two servers (master + cave) in separate Docker containers on the same physical machine and bind the public ports of both servers the ports of the physical machine, i.e. both servers run on port 10999 inside their Docker containers, but I'm binding the public master-server port to 10999 and the second server public port to 11000. It would be awesome if you could provide detailed information about which ports (Steam ports, Server ports, Master port etc.) need to be available from the outside etc. so I can configure the Docker containers accordingly. Thanks a lot! Link to comment https://forums.kleientertainment.com/forums/topic/63263-cave-server-gets-passworded-all-the-time/#findComment-736496 Share on other sites More sharing options...
thasmo Posted March 20, 2016 Author Share Posted March 20, 2016 I've figured out a solution, but I'm not sure what the actual problem actually is. I'm running the two servers via Docker, each in it's own container. This means, every container has it's own IP address, so I thought it should be fine to run both servers on the same port (10999) internally and only bind different public ports on the physical machine. Turns out, when running the second server explicitely on port 11000 internally and also binding it to 11000 publicly, it works. Very weird. This either means multiple DST servers, even when running on different machines, need to use different ports - or there's something weird going on when running multiple servers via Docker using the same port, e.g. 10999. Can someone confirm that ports need to be different, even when servers run on different machines/IPs? Thanks! Link to comment https://forums.kleientertainment.com/forums/topic/63263-cave-server-gets-passworded-all-the-time/#findComment-736527 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.