-
-
Notifications
You must be signed in to change notification settings - Fork 517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
start-automated-server.bat doesn't support IPv6 #4043
Comments
Ping does not respond with a TTL if the server responds with an IPv6 address. This essentially means that the script will think the user does not have internet, if they have a public IPv6 address. Forcing IPv4 in the ping command, ensures TTL gets returned, and the startup can proceed. Closes EnigmaticaModpacks#4043
Thanks for the report and fix, very nice of you :D |
Cool. I reckon this will be relevant for your other mod packs as well. Also, if you ever plan to update the script with latest from https://github.com/AllTheMods/Server-Scripts/, you'll have the issue again, as the problems stems from that. I've submitted a PR there as well AllTheMods/Server-Scripts#89.
|
I've refactored the script for 1.18 a while back, so that's already fixed 👍 But thanks! |
Modpack Version
d363897
Describe your issue.
Starting the server won't work on Windows if you have a public IPv6 address.
The script makes a
ping
tominecraftforge.net
and tries to look forTTL
in the response. Apparently, if the server returns an IPv6 address, theTTL
is not included:As I personally have a public IPv6 address, the server responds with IPv6 as well, causing the script to think, that I don't have internet.
Crash Report
No response
Latest Log
No response
Have you modified the modpack?
No
User Modifications
No response
Did the issue happen in singleplayer or on a server?
Server
The text was updated successfully, but these errors were encountered: