-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Environment:
Windows 7, 64 bit, Java 1.8.0_60
i5 4460, 8 gb ram
Ok, so I'm trying to build up a minecraft server using BuildTools.jar.
The command line I'm using is: "java -jar BuildTools.jar". Firstly, the error code I get is this:
BuildTools unconfigured@null.spigotmc.org Starting clone of https://hub.spigotmc.org/stash/scm/spigot/bukkit.git to Bukkit Exception in thread "main" org.eclipse.jgit.api.errors.TransportException: https://hub.spigotmc.org/stash/scm/spigot/bukkit.git: git-upload-pack not permitted at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139) at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:187) at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:127) at org.spigotmc.builder.Builder.clone(Builder.java:619) at org.spigotmc.builder.Builder.main(Builder.java:171) Caused by: org.eclipse.jgit.errors.TransportException: https://hub.spigotmc.org/stash/scm/spigot/bukkit.git: git-upload-pack not permitted at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:511) at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java:309) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1138) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130) ... 4 more
If I use that command more times, finally those folders are created (probabbly not fully): BuildData, Bukkit, CraftBukkit, Spigot, work.
After that, another error occure:
BuildTools unconfigured@null.spigotmc.org Maven does not exist, downloading. Please wait. Starting download of http://static.spigotmc.org/maven/apache-maven-3.2.5-bin.zip Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: http://static.spigotmc.org/maven/apache-maven-3.2.5-bin.zip at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.URL.openStream(Unknown Source) at com.google.common.io.Resources$UrlByteSource.openStream(Resources.java:72) at com.google.common.io.ByteSource.read(ByteSource.java:257) at com.google.common.io.Resources.toByteArray(Resources.java:99) at org.spigotmc.builder.Builder.download(Builder.java:643) at org.spigotmc.builder.Builder.main(Builder.java:205)
Seems like I get a 403 error (Forbidden). I browsed myself "http://static.spigotmc.org/maven/apache-maven-3.2.5-bin.zip" and extracted it in same folder with BuildTools.jar and another restricted acces error occured:
BuildTools unconfigured@null.spigotmc.org Attempting to build version: 'latest' use --rev <version> to override Could not get version latest does it exist? Try another version or use 'latest' java.io.IOException: Server returned HTTP response code: 403 for URL: https://hub.spigotmc.org/versions/latest.json at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) at org.spigotmc.builder.Builder.get(Builder.java:469) at org.spigotmc.builder.Builder.main(Builder.java:229)
This one I can't trick like last one by downloading it myself because it will proceed to download even if it exist or not.
Anyway I have a tought on that. Whenever I browse spigotmc.org, Cloudfare's security captcha pop up to check if 'I'm a robot'. After completing that captcha it will let me acces it by browser. I think that when I try BuildTools.jar it happen the same, but in that case I can't complete that captcha.
(I had to fill the version field to create the ticket so I took it from a working server, it have nothing to do with my error)