Skidamek / AutoModpack

Enjoy a seamless modpack installation process and effortless updates with a user-friendly solution that simplifies management, making your gaming experience a breeze.
https://modrinth.com/mod/automodpack
GNU Lesser General Public License v3.0
91 stars 29 forks source link

[AutoModpack] Error! Something went wrong! - cant connect to server 1.19.2 #109

Closed frizzbees closed 1 year ago

frizzbees commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

using the latest 1.19.2 version available through modrinth on both the client and the server, client will succsesfully download jar files and configs from the server but will eventually error out showing

[AutoModpack] Error! Something went wrong!

Critical error while downloading modpack.
"com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 15 column 2 path $"
More details in logs

To Reproduce Steps to reproduce the behavior:

  1. install automodpack on both client and server
  2. connect to the server on the client
  3. wait until jars are downloaded and then error occurs

Expected behavior A clear and concise description of what you expected to happen.

expected mods to download and prompt player for restart instead of erroring out

Screenshots If applicable, add screenshots to help explain your problem.

AutoModpack and Minecraft Version you are using (please complete the following information):

Additional context Add any other context about the problem here.

Client & Server log client log: https://mclo.gs/ByWcOQT server log: https://mclo.gs/mrLkHgv

frizzbees commented 1 year ago

its worth noting that taking the jars from the automodpack/modpacks/(server) directory and dragging them into the mods folder allows me to connect to the server, so the jars are downloading fine

Skidamek commented 1 year ago

Thanks for reporting, i got which part of code is breaking something, it didn't happen to me before and it is related to the mods you are specifically using. It won't yet fix the problem but it will tell me where i can find the cause. I added more debugging logs to the related code. Could you just replace the automodpack jars (it is compressed in zip) and try to reproduce the issue, when you get it please send me new logs :) unzip-this-file.zip

frizzbees commented 1 year ago

hey ! thanks for the quick response

heres both log files with the new JAR

client: https://mclo.gs/WorWPuu server: https://mclo.gs/u1co5j0

Skidamek commented 1 year ago

Thank you, now we know it is HopoBetterRuinedPortals-[1.19-1.19.3]-1.3.3.jar I checked what is wrong with it and the fabric.mod.json file is wrongly formatted, which throws exceptions while trying to parse it as a json. The issue is already reported on author's discord but it is not fixed yet.

Here you have quickly fixed json in they mod by me it should now work completely fine: FIXED-ZIPED-HopoBetterRuinedPortals-[1.19-1.19.3]-1.3.3.zip

image

frizzbees commented 1 year ago

this seemed to fix it! thank you so much, closing this issue now