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
107 stars 32 forks source link

java.net.sockettimeoutexception connect timed out #57

Closed SuperKnux closed 2 years ago

SuperKnux commented 2 years ago

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

On the latest update of the mod, attempting to update the modpack from the server just returns "Up to date!" even if the modpack isn't actually the same. This is seemingly caused by a Java error on the client's side. "java.net.sockettimeoutexception connect timed out" To Reproduce Steps to reproduce the behavior:

  1. Create a new modpack, with just FAPI and AutoModpack along with a server set up.
  2. Launch the game, and attempt to join the server.
  3. No profit D:

Expected behavior A clear and concise description of what you expected to happen. The client should notice that there's an update and tell you instead of booting you from the server due to a mod missing.

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.

My client is running a recently installed EndeavourOS. I have 16 gigabytes of RAM, and have an Intel i3-9300H along with an Nvidia Geforce GTX 1050 3GB, if this helps.

Skidamek commented 2 years ago

This is rather because the automodpack host on server is overloaded and in the result it couses timeout exception, you can try add more threads to the automodpack config

SuperKnux commented 2 years ago

Nope. 6 threads, using bloom.host to host the server too. Can't download the modpack from the site it gives, and it worked fine before so... idk what's going on

Skidamek commented 2 years ago

automodpacks.zip I've changed a bit of automodpack host code, could you try it?

Skidamek commented 2 years ago

any updates?

Skidamek commented 2 years ago

I hope fixed in 2.3.8

Skidamek commented 2 years ago

if problem will be still accouris please reopen the issue

SuperKnux commented 2 years ago

Reopening the issue because, despite having switched OSes (to Windows from EndeavourOS,) the modpack can't be downloaded on my side, yet others can. Trying to download the modpack from the link given returns a "Took too long to respond" error.

SuperKnux commented 2 years ago

Nevermind, just had to add the ip itself to the host_external_ip config property along with a different port, although the different port was probably not needed.