-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Downloading minecraft_server..jar error Timeout #756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
running under Raspberry Pi 4 2G. |
I can't really help with networking issues, but yeah, there seems to be a bug where it continued on even when the version lookup failed. |
I have now pushed better handling of the version lookup failure. |
other docker containers on this Raspberry doesn't have networking issues. |
same here
getting this just after starting container using docker-compose |
same error message with 2021.4.0-multiarch-latest |
Can you try a couple of things:
|
pi@pi4ng:~ $ docker run --rm --entrypoint curl itzg/minecraft-server:2021.4.0-multiarch-latest -v -fsSL -o /dev/null https://launchermeta.mojang.com/mc/game/version_manifest.json
|
pi@pi4ng:~ $ docker run -e EULA=TRUE -d -p 25565:25565 --name mc_2021.1.0 itzg/minecraft-server:2021.1.0-multiarch-latest [init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 2 1000 1000 4096 Jan 9 2021 /data', |
Thanks for the quick info. And let's narrow it down by doing one more at |
pi@pi4ng:~ $ docker run --rm --entrypoint curl itzg/minecraft-server:2021.3.0-multiarch-latest -v -fsSL -o /dev/null https://launchermeta.mojang.com/mc/game/version_manifest.json
|
pi@pi4ng:~ $ docker run -e EULA=TRUE -d -p 25565:25565 --name mc_2021.3.0 itzg/minecraft-server:2021.3.0-multiarch-latest [init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 2 1000 1000 4096 Feb 7 2021 /data', |
Oh, I misread the earlier comment. So even 2021.1.0 is failing for you? I know you have other containers running fine, but it really seems to be a networking issue beyond the control of the image. The |
From the same docker env as the others tests .... docker pull debian root@a9e15cbb0401:/# ping -c3 9.9.9.9 --- 9.9.9.9 ping statistics --- root@a9e15cbb0401:/# apt update ... ok root@a9e15cbb0401:/# dig +short launchermeta.mojang.com |
Instead of Sorry, I only threw out DNS as a possible cause because I am running out of ideas. I would recommend you experiment with |
...BTW, dig and curl do not necessarily use the same mechanisms for DNS resolution: https://serverfault.com/questions/866183/understanding-the-difference-between-dns-resolvers Again, I'm not trying to imply your scenario is only a DNS issue. |
my hostpi@pi4ng:~ $ grep hosts /etc/nsswitch.conf pi@pi4ng:~ $ curl -v -fsSL -o /dev/null https://launchermeta.mojang.com/mc/game/version_manifest.json
my debian testdocker run -it debian root@88042e3f16a2:/# grep hosts /etc/nsswitch.conf root@88042e3f16a2:/# curl -v -fsSL -o /dev/null https://launchermeta.mojang.com/mc/game/version_manifest.json
container - minecraft-server:2021.4.0-multiarch-latespi@pi4ng:~ $ docker run --rm --entrypoint curl itzg/minecraft-server:2021.4.0-multiarch-latest -v -fsSL -o /dev/null https://launchermeta.mojang.com/mc/game/version_manifest.json
container - adoptopenjdk:latestpi@pi4ng:~ $ docker run --rm --entrypoint curl adoptopenjdk:latest -v -fsSL -o /dev/null https://launchermeta.mojang.com/mc/game/version_manifest.json
|
Since Please try |
I'm receiving exactly the same outcomes as @vonloschz after every test provided by @itzg |
Bummer. You'll have to wait for the upstream base image to fix whatever is breaking this then :( |
can confirm that #755 is the same issue, after adding privileged: true everything goes as it should be |
Maybe there was a kernel update that influenced this. What distro is everyone here running on rpi? Raspbian? |
Raspberry Pi OS Lite |
Raspberrypi OS 32 bit |
and would be interesting to see what |
pi@pi4ng:~ $ uname -rv pi@pi4ng:~ $ uname -a pi@pi4ng:~ $ cat /proc/cpuinfo | grep Revision https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md |
root@raspberrypi:/home/pi# uname -rv root@raspberrypi:/home/pi# cat /proc/cpuinfo | grep Revision |
problem is maybe with image build over alpine:3.13.0 + image base on alpine:3.11.0pi@pi4ng:~ $ docker run --rm arm32v7/alpine:3.11.0 ping -c 3 8.8.8.8 --- 8.8.8.8 ping statistics --- image base on alpine:3.13.0 and more ...pi@pi4ng:~ $ docker run --rm arm32v7/alpine:3.13.0 ping -c 3 8.8.8.8 |
FYI, none of my multi-architecture images (aka rpi) are based on Alpine. They are all Debian based. |
Looks like there might be a workaround here: After installing libseccomp2_2.5.1-1_armhf.deb via gdebi, I'm able to run multiarch-latest again |
That's not just a workaround, it's the solution that others confirmed Can we close this issue since package/library issues at the host level are beyond the control of what I can do in the image definition? |
This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open. |
Hello,
I got this error from the 2021.3.0-multiarch-latest image.
is it really minecraft_server**..**jar and not minecraft_server.jar ?
2021-02-07T20:06:34.629289451Z [init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 2 1000 1000 4096 Feb 7 2021 /data',
2021-02-07T20:06:35.699395484Z curl: (28) Timeout was reached,
2021-02-07T20:06:35.708349968Z [init] Resolved version given LATEST into ,
2021-02-07T20:06:35.708894314Z [init] Resolving type given VANILLA,
2021-02-07T20:06:35.723557000Z [init] Downloading minecraft_server..jar ...,
2021-02-07T20:06:36.776268801Z curl: (28) Timeout was reached,
2021-02-07T20:06:36.785001565Z [init] ERROR failed to obtain version manifest URL (28),
The text was updated successfully, but these errors were encountered: