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
115 stars 33 forks source link

Unable to use domain instead of IP? #294

Open N-Montana opened 2 weeks ago

N-Montana commented 2 weeks ago

Bug description

I'm currently in the process of migrating my server to be a domain instead of direct IP for security issues, however it seems I am unable to have automodpack recognize the domain. No matter what when attempting to connect via the domain it gives an error and the server gives the following: image The error seems to suggest that using a domain can be done but I'm unable to figure out exactly how to set it up.

Steps to reproduce

  1. Attempt to set automodpack to use a server domain
  2. Try to join the server via domain, resulting in the error

Expected behavior

No response

Actual behavior

No response

Relevant logs

No response

Minecraft & Mod Loader versions

1.18.2 Forge 40.2.21

Minecraft launcher

No response

Operating system

Unknown (Server is 3rd party hosted)

AutoModpack version

4.0.0 beta18

Other information

No response

Check list

Skidamek commented 2 weeks ago

Do you use cloudflare dns proxy option? I recently got report that this somehow breaks automodpack host.

Skidamek commented 2 weeks ago

if thats the case please try latest dev build artifact its untested may not work but i changed slightly server host handling

N-Montana commented 2 weeks ago

I believe we are (I'm not handling that side personally), I'll test it when I get a chance. Thanks for the quick response!

N-Montana commented 2 weeks ago

Sorry it took a while to test it, it seems to be giving the same issue. I'm assuming that the domain just goes into the "Host IP" config space?

Skidamek commented 2 weeks ago

Yes and localHostIp too. But if empty client will try to get modpack from where it connected to Minecraft server that's why it's optional.

N-Montana commented 2 weeks ago

Okay just wanted to make sure, it does just fail with the same error even when the IP is left blank.

Skidamek commented 2 weeks ago

Well that's unfortunate then, I don't have any other solution for you at the moment however I plan to make major rework of modpack host which should fix thst issue see #293

N-Montana commented 2 weeks ago

Okay that's no problem, we'll make do without for now and try it with the new update. Thanks again for trying help in the meantime!