Open Dani20000 opened 1 year ago
Can you confirm that when you docker exec
into the container you can e.g. ping www.google.com
? I wonder if this is an issue with the container's network setup or with steamcmd
, the commandline Steam client that is doing the download. I did a quick Google search for the issue but could only find it in connection with Counterstrike servers. Which I guess makes sense, I'm assuming they are using the same networking library in their games and Steam itself.
Well, I tried once again to delete and recreate everything (container, volumes and image) and now works without problems... I didn't change anything, same files, same commands. Anyway, yesterday I tried and I was able to ping google so that wasn't the problem. The only thing that comes to mind is that yesterday there was a temporary problem with the steam servers. What else could it be? Thank you though
I have a similar problem since the latest update:
2023-03-13 02:00:39,316 INFO spawned: 'valheim-updater' with pid 42
Mar 13 02:00:39 supervisord: valheim-updater DEBUG - [42] - Running Valheim Server updater as user valheim uid 0
Mar 13 02:00:39 supervisord: valheim-updater DEBUG - [42] - Kernel: Linux 6fa85dfe7b0a 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 GNU/Linux
Mar 13 02:00:39 supervisord: valheim-updater DEBUG - [42] - Found CPU with 2112.005 MHz
Mar 13 02:00:39 supervisord: valheim-updater DEBUG - [42] - Memory total/free/available: 49336656/28603892/42920256
Mar 13 02:00:39 supervisord: valheim-updater DEBUG - [42] - Storage configuration:
Mar 13 02:00:39 supervisord: valheim-updater Filesystem Size Used Avail Use% Mounted on
Mar 13 02:00:39 supervisord: valheim-updater overlay 1007G 14G 943G 2% /
Mar 13 02:00:39 supervisord: valheim-updater drvfs 634G 339G 295G 54% /config
Mar 13 02:00:39 supervisord: valheim-updater overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/QBWZBMAT36WAQZWPKZDBEC3DYI:/var/lib/docker/overlay2/l/R2JCF7UL2GC2AQCQASAF7EZGBG:/var/lib/docker/overlay2/l/OFPJFZZ4W3LYIXN773CBQY2LT6:/var/lib/docker/overlay2/l/ZYNLXACPAL5LY7T43MCXCYHXGX:/var/lib/docker/overlay2/l/UN6KMAX75DEYS2WSGRXV4XKICL:/var/lib/docker/overlay2/l/PDZZSKJ7UKUNT27MY7EAFEB5FT:/var/lib/docker/overlay2/l/NNLYHMCJPTDLX42BLQAPHHK3U2:/var/lib/docker/overlay2/l/CVCN5WI4H5P6EZTENF3LT5ONAM,upperdir=/var/lib/docker/overlay2/3b423f0b5bff7047964c9ee8e0ae3c588e33ca032082386a04dc1613e8b3dc9b/diff,workdir=/var/lib/docker/overlay2/3b423f0b5bff7047964c9ee8e0ae3c588e33ca032082386a04dc1613e8b3dc9b/work 0 0
Mar 13 02:00:39 supervisord: valheim-updater drvfs /config 9p rw,dirsync,noatime,aname=drvfs;path=M:\;uid=1000;gid=1000;metadata;uid=1000;gid=1000;umask=0022;fmask=11;case=off;symlinkroot=/mnt/,mmap,access=client,msize=262144,trans=virtio 0 0
Mar 13 02:00:39 supervisord: valheim-updater drvfs /discord-hook.sh 9p rw,dirsync,noatime,aname=drvfs;path=M:\;uid=1000;gid=1000;metadata;uid=1000;gid=1000;umask=0022;fmask=11;case=off;symlinkroot=/mnt/,mmap,access=client,msize=262144,trans=virtio 0 0
Mar 13 02:00:39 supervisord: valheim-updater drvfs /opt/valheim 9p rw,dirsync,noatime,aname=drvfs;path=M:\;uid=1000;gid=1000;metadata;uid=1000;gid=1000;umask=0022;fmask=11;case=off;symlinkroot=/mnt/,mmap,access=client,msize=262144,trans=virtio 0 0
Mar 13 02:00:40 supervisord: valheim-updater DEBUG - [42] - Valheim updater was just started - skipping connected players check
Mar 13 02:00:40 supervisord: valheim-updater INFO - Running pre update check hook: /discord-hook.sh update_check_pre
Mar 13 02:00:40 supervisord: valheim-updater [2023-03-13 02:00:40] update_check_pre
Mar 13 02:00:40 supervisord: valheim-updater [2023-03-13 02:00:40] https://discord.com/api/webhooks/821270588563652609/p2SrBShpTc6vlo8B6mplVaCak5KRtsA0bIkCie_TdFf90o_y-DwKLd1kN6MxAokvAiai
Mar 13 02:00:40 supervisord: valheim-updater INFO - Downloading/updating/validating Valheim server from Steam
2023-03-13 02:00:41,238 INFO success: valheim-updater entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Mar 13 02:00:41 supervisord: valheim-bootstrap valheim-updater: started
Mar 13 02:00:43 supervisord: valheim-updater Redirecting stderr to '/home/valheim/Steam/logs/stderr.txt'
Mar 13 02:00:43 supervisord: valheim-updater [ 0%] Checking for available updates...
Mar 13 02:00:43 supervisord: valheim-updater [----] Verifying installation...
Mar 13 02:00:43 supervisord: valheim-updater Steam Console Client (c) Valve Corporation - version 1676336512
Mar 13 02:00:43 supervisord: valheim-updater -- type 'quit' to exit --
Mar 13 02:00:43 supervisord: valheim-updater Loading Steam API...CreateBoundSocket: failed to create socket, error [no name available] (38)
Mar 13 02:00:43 supervisord: valheim-updater OK
Mar 13 02:00:43 supervisord: valheim-updater
Mar 13 02:00:43 supervisord: valheim-updater Connecting anonymously to Steam Public...
Mar 13 02:01:00 supervisord: valheim-updater src/clientdll/cminterface.cpp (3908) : m_VecNetAdrNetFilterCMs.Count() > 0
Mar 13 02:01:00 supervisord: valheim-updater Retrying. . .
Mar 13 02:01:00 supervisord: valheim-updater CreateBoundSocket: failed to create socket, error [no name available] (38)
Mar 13 02:01:11 supervisord: valheim-updater src/clientdll/cminterface.cpp (3908) : m_VecNetAdrNetFilterCMs.Count() > 0
Mar 13 02:01:11 supervisord: valheim-updater Retrying. . .
Mar 13 02:01:47 supervisord: valheim-updater src/clientdll/cminterface.cpp (3908) : m_VecNetAdrNetFilterCMs.Count() > 0
Mar 13 02:01:47 supervisord: valheim-updater Retrying. . .
Mar 13 02:01:47 supervisord: valheim-updater CreateBoundSocket: failed to create socket, error [no name available] (38)
Mar 13 02:02:38 supervisord: valheim-updater src/clientdll/cminterface.cpp (3908) : m_VecNetAdrNetFilterCMs.Count() > 0
Mar 13 02:02:38 supervisord: valheim-updater Retrying. . .
Mar 13 02:02:38 supervisord: valheim-updater CreateBoundSocket: failed to create socket, error [no name available] (38)
Mar 13 02:15:01 CRON[242]: (root) CMD ([ -f "/var/run/valheim/valheim-updater.pid" ] && kill -HUP $(cat /var/run/valheim/valheim-updater.pid))
Mar 13 02:30:01 CRON[337]: (root) CMD ([ -f "/var/run/valheim/valheim-updater.pid" ] && kill -HUP $(cat /var/run/valheim/valheim-updater.pid))
2023-03-13 02:32:12,962 INFO waiting for syslogd, crond, valheim-backup, valheim-updater to die
2023-03-13 02:32:15,969 INFO waiting for syslogd, crond, valheim-backup, valheim-updater to die
2023-03-13 02:32:18,988 INFO waiting for syslogd, crond, valheim-backup, valheim-updater to die
2023-03-13 02:32:21,992 INFO waiting for syslogd, crond, valheim-backup, valheim-updater to die
I tried setting everything up new, but it still always gets me to the same error. Does anyone know the Hash of the previous version? Unfortunetly I was a little fast on cleaning it up. In the meantime I'm running it directly from my windows host, but I would be realy happy to get the container going again.
Edit: Pinging google.com from inside the container is working fine.
I've had similar problem and it's seems like it was issued by the docker itself. At some point docker even couldn't connect to the hub, or I should say, couldn't resolve credentials to pull image. So try to restart machine, docker, and try to restart the container.
I've had similar problem and it's seems like it was issued by the docker itself. At some point docker even couldn't connect to the hub, or I should say, couldn't resolve credentials to pull image. So try to restart machine, docker, and try to restart the container.
Hey, thank you. Restarting the whole server worked and I feel a little embarrassed, that everything came down to: "Have you tried turning it off and on again 🤦♂️"
I am getting soomething similar-
2023-03-24 19:21:50 valheim-server-docker-valheim-1 | Mar 24 19:21:50 supervisord: valheim-updater Loading Steam API...CreateBoundSocket: failed to create socket, error [no name available] (38)
2023-03-24 19:21:50 valheim-server-docker-valheim-1 | Mar 24 19:21:50 supervisord: valheim-updater OK
2023-03-24 19:21:50 valheim-server-docker-valheim-1 | Mar 24 19:21:50 supervisord: valheim-updater
2023-03-24 19:21:50 valheim-server-docker-valheim-1 | Mar 24 19:21:50 supervisord: valheim-updater Connecting anonymously to Steam Public...
2023-03-24 19:21:51 valheim-server-docker-valheim-1 | 2023-03-24 19:21:51,911 INFO success: valheim-backup entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-03-24 19:21:51 valheim-server-docker-valheim-1 | Mar 24 19:21:51 supervisord: valheim-bootstrap valheim-backup: started
2023-03-24 19:21:51 valheim-server-docker-valheim-1 | 2023-03-24 19:21:51,956 INFO exited: valheim-bootstrap (exit status 0; expected)
2023-03-24 19:22:01 valheim-server-docker-valheim-1 | Mar 24 19:22:01 cron[28]: (valheim) RELOAD (crontabs/valheim)
2023-03-24 19:24:10 valheim-server-docker-valheim-1 | Mar 24 19:24:10 supervisord: valheim-updater Retrying. . .
2023-03-24 19:24:10 valheim-server-docker-valheim-1 | Mar 24 19:24:10 supervisord: valheim-updater Retrying. . .
2023-03-24 19:24:10 valheim-server-docker-valheim-1 | Mar 24 19:24:10 supervisord: valheim-updater CreateBoundSocket: failed to create socket, error [no name available] (38)
2023-03-24 19:24:10 valheim-server-docker-valheim-1 | Mar 24 19:24:10 supervisord: valheim-updater Retrying. . .
2023-03-24 19:24:10 valheim-server-docker-valheim-1 | Mar 24 19:24:10 supervisord: valheim-updater CreateBoundSocket: failed to create socket, error [no name available] (38)
2023-03-24 19:24:10 valheim-server-docker-valheim-1 | Mar 24 19:24:10 supervisord: valheim-updater Retrying. . .
2023-03-24 19:24:10 valheim-server-docker-valheim-1 | Mar 24 19:24:10 supervisord: valheim-updater CreateBoundSocket: failed to create socket, error [no name available] (38)
2023-03-24 19:24:11 valheim-server-docker-valheim-1 | 2023-03-24 19:24:11,967 INFO reaped unknown pid 136 (exit status 0)
I'm using docker compose. I can't understand why it's not working. I tried everything.
The log, directly from terminal:
My docker-compose.yaml (That is inside C:\Users\myuser\valheim-server):
My valheim.env file (That is inside C:\Users\myuser\valheim-server):
I'm on Windows 10 Pro using WSL-2 backend instead of Hyper-v if that changes something...