docker-minecraft-bedrock-server icon indicating copy to clipboard operation
docker-minecraft-bedrock-server copied to clipboard

Getting `Failed to extract download URL 'null'` when starting container

Open hwittenborn opened this issue 4 years ago • 8 comments

When following the quickstart I keep getting this when the container starts:

latest: Pulling from itzg/minecraft-bedrock-server
Digest: sha256:950058ddf52c0f962ee60f7b6cf5a3b9080a78b727228fda3c9944362faa2db1
Status: Image is up to date for itzg/minecraft-bedrock-server:latest
DEBU[0000] Using /data to match uid and gid             
DEBU[0000] Resolved UID=0 from match path               
DEBU[0000] Resolved GID=0 from match path               
Looking up latest version...
Failed to extract download URL 'null' from https://www.minecraft.net/en-us/download/server/bedrock

Specifying -e 'VERSION=LATEST' doesn't work either, though PREVIOUS seems to be working.

hwittenborn avatar Jun 15 '22 20:06 hwittenborn

Happening to me as well. I'm also unable to download the server from that URL. When I click the download link, it just does nothing.

Have a feeling this is upstream since it's not even allowing any browser-based downloads.

cjsfj avatar Jun 15 '22 21:06 cjsfj

I'm also unable to download the server from that URL

Same here, I've reported an issue on Mojang's issue tracker. Seems to be happening for the Java server for some reason too :P.

hwittenborn avatar Jun 15 '22 22:06 hwittenborn

Looks like the container is unable to download the server from https://www.minecraft.net/en-us/download/server/bedrock. I was able to download it a few days back. I cant download it from the website as well today.

esarella avatar Jun 15 '22 23:06 esarella

Mojang has changed their download page to defeat the automated retrieval of the latest download version. The <a data-platform="serverBedrockLinux"> is now missing the href until a human clicks the accept button.

Anybody have suggestions for how to automatically identify the URL of the latest download?

itzg avatar Jun 16 '22 03:06 itzg

Correction: just being able to automate the lookup of the latest version is sufficient.

As a workaround, the VERSION can be set explicitly such as -e VERSION=1.19.1.01.

itzg avatar Jun 16 '22 03:06 itzg

Versions are working normally on the website now, the Docker image is able to pull in version information fine now too.

Feel free to close it if you think everything's good

hwittenborn avatar Jun 16 '22 20:06 hwittenborn

Cool, thanks for the update.

itzg avatar Jun 16 '22 22:06 itzg