SKCraft / Launcher

🚀 Distribute your Minecraft modpacks with a custom launcher
Other
624 stars 437 forks source link

Still not working #412

Closed MD211211 closed 3 years ago

MD211211 commented 3 years ago

Ummm i tried it again and got this code java.io.IOException: The list of modpacks could not be downloaded. at com.skcraft.launcher.InstanceList$Enumerator.call(InstanceList.java:191) at com.skcraft.launcher.InstanceList$Enumerator.call(InstanceList.java:102) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: Did not get expected response code, got 503 for http://update.skcraft.com/template/packages.json?key= at com.skcraft.launcher.util.HttpRequest.expectResponseCode(HttpRequest.java:210) at com.skcraft.launcher.InstanceList$Enumerator.call(InstanceList.java:139) ... 5 more Can you also fix this please?

MD211211 commented 3 years ago

And when i go to http://update.skcraft.com/template/packages.json?key= it says 503 error

hedgehog1029 commented 3 years ago

This is the same as your last issue. The URL is a placeholder and should not be used.

Edit launcher.properties with the correct URLs as described by the wiki, and run build.bat. With the latest changes from yesterday (you will need to redownload the ZIP) the launcher should be cleanly rebuilt.

MD211211 commented 3 years ago

Yes i did edit the propeties file to my website and stuff BUT when i run it i have same issue an dyes i did redowload the launcher maker

MD211211 commented 3 years ago

Ok so I also just uploaded the files to my ftp and still error

MD211211 commented 3 years ago

heres the file https://www.mediafire.com/folder/lu5k4cd7zkd24/My+client

hedgehog1029 commented 3 years ago

You've changed the launcher.properties file but the URLs are still not valid, so you're gonna get a similar-looking error. You can't just shove a random URL in there, you need to actually point it at the correct files (see this section on the wiki).

If the error message still mentions update.skcraft.com then the launcher hasn't been rebuilt properly.

MD211211 commented 3 years ago

Oh that is my website but I don’t now my webftp link on my builder it doesn’t say it anywhere

MD211211 commented 3 years ago

Will it work if I use wix file share then link the properties to the file share instead of using ftp because I don’t know how to use them

hedgehog1029 commented 3 years ago

Yeah I doubt a website builder lets you have direct FTP access.

If the uploaded files can be linked directly (i.e. in raw form, no HTML cruft) then that should work OK.

MD211211 commented 3 years ago

Yesyesyyesyeysyeysy thx for the answer

MD211211 commented 3 years ago

All the website builders do not ACCEPT the file type of the upload files any recommended one

MD211211 commented 3 years ago

Ok i did connect to my website now andi got this To report this error, please provide:

java.io.IOException: The list of modpacks could not be downloaded. at com.skcraft.launcher.InstanceList$Enumerator.call(InstanceList.java:191) at com.skcraft.launcher.InstanceList$Enumerator.call(InstanceList.java:102) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: java.io.StringReader@376337e5; line: 1, column: 2] at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1524) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:557) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:475) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:1415) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:679) at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3024) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2971) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2091) at com.skcraft.launcher.util.HttpRequest$BufferedResponse.asJson(HttpRequest.java:549) at com.skcraft.launcher.InstanceList$Enumerator.call(InstanceList.java:141) ... 5 more Heres the website link https://maxerlauncher.wixsite.com/my-site/file-share The password is Maxer21

MD211211 commented 3 years ago

OH YA i know why it cant connect becuase its PRIVATE

MD211211 commented 3 years ago

That didnt work

hedgehog1029 commented 3 years ago

You want the URL of the packages.json file (https://wix.anyfileapp.net/dl?id=553246736447566b583139426f554273717a50517567474659437956727043746b77674d5742436b5543357933377a4e6277724578664e753747665661495064514f3133644139622b505136776c6134436a4e6b6f773d3d)

MD211211 commented 3 years ago

how did you know that

MD211211 commented 3 years ago

UH "o report this error, please provide:

java.io.IOException: The list of modpacks could not be downloaded. at com.skcraft.launcher.InstanceList$Enumerator.call(InstanceList.java:191) at com.skcraft.launcher.InstanceList$Enumerator.call(InstanceList.java:102) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: Did not get expected response code, got 403 for https://wix.anyfileapp.net/dl?id=553246736447566b583139426f554273717a50517567474659437956727043746b77674d5742436b5543357933377a4e6277724578664e753747665661495064514f3133644139622b505136776c6134436a4e6b6f773d3d at com.skcraft.launcher.util.HttpRequest.expectResponseCode(HttpRequest.java:210) at com.skcraft.launcher.InstanceList$Enumerator.call(InstanceList.java:139) ... 5 more" said error

hedgehog1029 commented 3 years ago

Not sure why you're getting a 403.

You might be better off using one of the services listed on the wiki.

MD211211 commented 3 years ago

Will GitHub pages work and also how to upload files to github pages

MD211211 commented 3 years ago

Or connect a web ftp

hedgehog1029 commented 3 years ago

Go read the docs: https://docs.github.com/en/github/working-with-github-pages

This should've been converted to a discussion long ago, doing that now.