Comments (3)
- This image says that the jar file is corrupted (the link looks ok to me in the code)
- I found this error a little strange, see how I did it to work:
heroku ps:exec
rm minecraft.jar
curl -o minecraft.jar -s -L https://launcher.mojang.com/v1/objects/a412fd69db1f81db3f511c1463fd304675244077/server.jar
screen -L -h 2048 -dmS minecraft java -Xmx384m -Xms384M -jar minecraft.jar nogui
screen -r
from heroku-buildpack-minecraft.
The Heroku buildpack file is outdated, causing it to use 1.15.2 as the default - this is the same problem which caused #52.
For some reason, the fall through call to minecraft_url="https://s3.amazonaws.com/Minecraft.Download/versions/${minecraft_version}/minecraft_server.${minecraft_version}.jar"
is returning an access denied error, so that the contents of minecraft.jar
are as follows:
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>4Y8P6PAG4GAGBM1P</RequestId><HostId>V3hEgTGTBI3U8iJ0WoF1/9MIIU0c542jP4mBRDIahmVQVX0MiFuPuJr/YSCG3p/iF3pOWnNTsUo=</HostId></Error>
I'm not sure why access would be denied as it seems that URLs like https://s3.amazonaws.com/Minecraft.Download/versions/1.6.3/minecraft_server.1.6.3.jar
are publicly available without any kind of authentication, and the request just looks like curl -o minecraft.jar -s -L $minecraft_url
.
from heroku-buildpack-minecraft.
Looks like this S3 bucket stopped being populated with server versions after 1.13.1.
PASS: https://s3.amazonaws.com/Minecraft.Download/versions/1.13.1/minecraft_server.1.13.1.jar
FAIL: https://s3.amazonaws.com/Minecraft.Download/versions/1.13.2/minecraft_server.1.13.2.jar
Strangely, this is accounted for in /bin/compile on line 68 elif echo "$minecraft_version" | grep -q '^1\.16.*$'; then
but as you can see, it matches ALL minor versions of the 1.16 release to the 1.16.1 launcher.mojang Object UUID. minecraft_uuid="${MINECRAFT_UUID:="a412fd69db1f81db3f511c1463fd304675244077"}"
So either, some research needs to identify specific version UUIDs, or an alternate download source needs to be added.
from heroku-buildpack-minecraft.
Related Issues (20)
- It's not working pls help HOT 4
- server.properties problem :( HOT 2
- How to open console using the Deploy To Heroku Button? HOT 1
- Cross Plataform HOT 1
- What is the expected pricing? HOT 2
- Can not connect to server from Minecraft Java Edition HOT 1
- How do I use a custom domain (if possible)? HOT 1
- Cannot exec 'java': No such file or directory HOT 7
- Suggestion
- HOT 3
- Connection refused: "Failed to open private leg" HOT 1
- My server doesn't start ! HOT 1
- ! [remote rejected] master -> master (pre-receive hook declined) HOT 3
- mcpe support HOT 1
- Update buildpack to support Minecraft Java Edition 1.17.* HOT 1
- Question about dyno type HOT 2
- Unsupported class version
- Can't create a server HOT 2
- remote rejected?
- java.lang.outofmemoryerror
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heroku-buildpack-minecraft.