Enigmatica 2: Expert - E2E

Enigmatica 2: Expert - E2E

2M Downloads

not able to download server "NoInternetConnectivityMinecraftForgeNet"

LucienOliveira opened this issue ยท 11 comments

commented

Modpack version
1.82a

Issue
I have installed the fresh serverfiles with the 3 fix files but it keeps telling me:

ERROR
There was an Error, Code: "NoInternetConnectivityMinecraftForgeNet"

At first i was downloading the server without the fix files and it had the same Error message

Logs
(https://github.com/NillerMedDild/Enigmatica2Expert/files/6964948/serverstart.log)

commented

Thanks for the report - Are you still experiencing the issue? This error sometimes happens intermittently.

commented

Sadly yes

commented

Damn :/ could you try with 1.83?

commented

still wont work with or without the fix files gives me the exact same error

commented

Alright, you may have to download Forge manually then, and/or set IGNORE_OFFLINE=0 to IGNORE_OFFLINE=1 in the settings.cfg

Sorry to ask again, but are you certain that the newly uploaded 1.83 server files do not work for you?

commented
REM Ping minecraftforge before attempting download
%MC_SYS32%\PING.EXE -n 2 -w 1000 minecraftforge.net | %MC_SYS32%\FIND.EXE "TTL="  1>> "%~dp0logs\serverstart.log" 2>&1
IF %ERRORLEVEL% EQU 0 (
	ECHO INFO: Ping of "minecraftforge.net" Successfull 1>>  "%~dp0logs\serverstart.log" 2>&1
) ELSE (
	ECHO ERROR: Could not reach minecraftforge.net! Possible firewall or internet issue?
	ECHO ERROR: Could not reach minecraftforge.net 1>>  "%~dp0logs\serverstart.log" 2>&1
	SET MC_SERVER_ERROR_REASON=NoInternetConnectivityMinecraftForgeNet
	GOTO ERROR
)

Changing "TTL="1 to "time="1 fixes this issue. Windows ping (at least on my machine returns time= instead of TTL. Maybe this is different on other versions of windows?

commented

Which version of Windows do you have?

commented

windows 10 21H1

commented

So am I, it's working flawlessly ^^' You may have firewall issues?

commented

We use the issue tracker exclusively for bug reports, development and feature requests. However, this issue appears to be a support request. Please use the support channel on our Discord to get help.

commented

Disclaimer: I was previously using Lucien's account to comment on this issue.
I did some further testing and the issue seems to appear when using ping.exe with an IPv6 enabled adapter. When using IPv6 ping does not print a TTL. (No idea why not). Ping can be forced to use IPv4 by passing the -4 flag and then it happily prints TTL. Not sure what the best fix would be a I don't really know the details of the script, but it seems to me that you could either make it search for "time=" or pass in the -4 flag.