zomboid-dedicated-server icon indicating copy to clipboard operation
zomboid-dedicated-server copied to clipboard

Fresh container setup fails, errors of no network connectivity ?

Open xBeEatNUx opened this issue 2 years ago • 22 comments

Describe the bug Pulling a new image and setting up the docker container fails which seems to be due to not able to load the public/steambootstrapper ? It eventually complains off file manifest issues the network connection. The cluster works fine in terms of network as I created other games and other services with no issues.

I am using portainer for my docker management.

Seems to be really related to Zomboid.

To Reproduce Steps to reproduce the behavior:

  1. Pull Image
  2. Build container from said image and include exposed ports and mount the persistent volumes
  3. check logs for failure.

Screenshots Check Log

Desktop (please complete the following information):

  • OS: Debian
  • Docker Version 20.10.21
  • Image Version latest

Additional context check log, doesnt really go into detail _dedicated-project-zomboid_logs.txt

xBeEatNUx avatar Nov 14 '22 21:11 xBeEatNUx

That is definitely an issue with Steam CMD not being able to connect. It can't even check if it is up to date, nevermind anything Zomboid related.

Renegade-Master avatar Nov 14 '22 21:11 Renegade-Master

Can you confirm that the following works? I tested the latest version earlier today https://github.com/Renegade-Master/zomboid-dedicated-server/issues/48#issuecomment-1314266550

Renegade-Master avatar Nov 14 '22 22:11 Renegade-Master

I can reproduce, server does not start.

image

TetrisBlack avatar Nov 14 '22 22:11 TetrisBlack

my ports are setup proper but also pulling 2.3.0 doesnt work either.

xBeEatNUx avatar Nov 14 '22 22:11 xBeEatNUx

@Renegade-Master any thoughts how to get around this?

xBeEatNUx avatar Nov 16 '22 06:11 xBeEatNUx

I can reproduce, server does not start.

image

Hey @TetrisBlack, the screenshot you posted seems to be a different issue than what xBeEatNUx is having.

I was seeing the same "failed to connect to steam servers" error and seemed to fix it by removing the BIND_IP env variable.

Hope that helps

Straskal avatar Nov 18 '22 13:11 Straskal

I can reproduce, server does not start. image

Hey @TetrisBlack, the screenshot you posted seems to be a different issue than what xBeEatNUx is having.

I was seeing the same "failed to connect to steam servers" error and seemed to fix it by removing the BIND_IP env variable.

Hope that helps

Ooooooo that’s interesting, let me try that. I’ve pushed the docker image without hat env all together so wonder if there’s a way to run it without that being created

xBeEatNUx avatar Nov 18 '22 15:11 xBeEatNUx

@xBeEatNUx I'm sorry for the confusion 😕 that BIND_IP fix was directed at Tetris.

I was looking at your log file as well and i'm not entirely sure why SteamCMD itself is giving you grief..

Straskal avatar Nov 18 '22 15:11 Straskal

@xBeEatNUx I'm sorry for the confusion 😕 that BIND_IP fix was directed at Tetris.

I was looking at your log file as well and i'm not entirely sure why SteamCMD itself is giving you grief..

Damn I got excited for a sec lol.

xBeEatNUx avatar Nov 18 '22 16:11 xBeEatNUx

@Renegade-Master Seems like this was an issue definitely with steam and how the container reaches its services, not sure why it came back up. Are you able to run a new container with no issues?

I can into a possible fix but the container crashes so I cant connect to it to test.

https://github.com/ValveSoftware/steam-for-linux/issues/7667

xBeEatNUx avatar Nov 18 '22 18:11 xBeEatNUx

This image doesn't do anything with Networking. It doesn't even expose its own ports without the User specifying them.

I cannot really do anything to correct this. It is down to Steam to fix the issue. At least we have the Issue that you linked to follow this, but for now I am going to close this Issue as it belongs with Steam, not here 🙂

If you disagree though, we can maybe keep it open if there is something that I can do to correct this.

Renegade-Master avatar Nov 18 '22 18:11 Renegade-Master

I was hoping we could come to a resolution and I can atleast get this working again. Not sure if people are having the issue and not reporting or just doing something else. While I like the project, I’m sure others are running into the same issue so was hoping WE could come up with a solution instead of hosting a broken image.

xBeEatNUx avatar Nov 18 '22 18:11 xBeEatNUx

This pretty much started when 41.78 arrived so whole knows if it’s all related. I’m just trying to get to the bottom of it

xBeEatNUx avatar Nov 18 '22 18:11 xBeEatNUx

But it works fine for me still. It isn't broken. I can't control the part that isn't working for you.

It's a Steam issue. I'd like to fix it, but I'm not affiliated with Steam nor The Indie Stone.

Renegade-Master avatar Nov 18 '22 20:11 Renegade-Master

I just tried it again myself from a basic Oracle x86 host.

It only has 2 vCPU and 1 GB of Memory (but it is free) so it took a few attempts to get it going, but it works fine. I can connect, and it plays.

Renegade-Master avatar Nov 18 '22 20:11 Renegade-Master

So you were able to pull the latest image and the script all works fine from a fresh setup ?

xBeEatNUx avatar Nov 18 '22 20:11 xBeEatNUx

Yes. Although it will crash due to low resource availability on the host several times during startup.

But on restarting (docker start zomboid-server), it picks up where it left off and eventually starts. I have never once seen this Steam connection issue myself except for situations like on a Wednesday 00:00 GMT when Steam likes to do maintenance cycles.

I did not mean to appear to dismiss your troubles here by the way. It just really seems to be an issue between your PC/VPS and Steam, which is an area that I cannot really control.

Renegade-Master avatar Nov 18 '22 20:11 Renegade-Master

So for giggles, I built a new server running proxmox and docker and went through this again. Same issue, one my reddit post someone else is having the issue so I don't believe its related to my server since I have the same issue on 2 of them and another user is having the same issue.

Possible it could be related to the ISP and connectivity to steam but I just ran through steamCMD pulling Satisfactory with ZERO issues. Check the log below, t goes through a similar steamCMD process but this completes successfully.

Reddit link to error, another user explains he has the same issue sat.txt

xBeEatNUx avatar Nov 21 '22 18:11 xBeEatNUx

The sat.txt is the logs btw

xBeEatNUx avatar Nov 21 '22 18:11 xBeEatNUx

You've convinced me to look into it again. I have found little time for working on this recently, but I will try to fit it in somehow. I will start by trying it again from completely fresh.

If I still can't reproduce the issue after that...I'm not entirely sure. I still am supposed to be working on the rootless version of this image. Maybe in the process, this issue will also resolve.

Out of interest, are you not in the EU, because all of my testing has been done from European hosts. Maybe this is part of the problem, I'm not sure. Although the GitHub Actions don't seem to have a problem, and they are almost definitely US based.

Renegade-Master avatar Nov 22 '22 01:11 Renegade-Master

I’m in the US, I dug into this more.

I created a VM instead of a container and manually installed steamCMD and installed project Zomboid dedicated server.

Have zero issues.

xBeEatNUx avatar Nov 22 '22 02:11 xBeEatNUx

And a fresh deployment of this image still doesn't work?

Is there any chance that you have some misconfiguration with DNS specifically in Docker?

Try running the image with:

rm -rf ./Zomboid*

mkdir ZomboidConfig ZomboidDedicatedServer

docker run --detach \                    
       --mount type=bind,source="$(pwd)/ZomboidDedicatedServer",target=/home/steam/ZomboidDedicatedServer \
       --mount type=bind,source="$(pwd)/ZomboidConfig",target=/home/steam/Zomboid \
       --publish 16261:16261/udp --publish 16262:16262/udp --publish 27015:27015/tcp \
       --dns="1.0.0.1" \
       --name zomboid-server \
       docker.io/renegademaster/zomboid-dedicated-server:2.3.0 

Renegade-Master avatar Nov 22 '22 10:11 Renegade-Master