Skip to content

Fix mirror selection hanging without ICMP (Pterodactyl/Wings) - #152

Open
ZinovevEzCode wants to merge 1 commit into
Gml-Launcher:masterfrom
ZinovevEzCode:master
Open

Fix mirror selection hanging without ICMP (Pterodactyl/Wings)#152
ZinovevEzCode wants to merge 1 commit into
Gml-Launcher:masterfrom
ZinovevEzCode:master

Conversation

@ZinovevEzCode

Copy link
Copy Markdown

Summary

GetAvailableMirrorAsync required ICMP ping before HTTP. On Pterodactyl Wings (CAP_NET_RAW dropped) ping either skips every mirror (Нет доступных зеркал) or hangs forever on Get active mirrors (launcher compile / JDK download).

This checks mirrors over HTTP only, and adds aka.ms fallbacks for the .NET 8 SDK.

Test plan

  • Call GetAvailableMirrorAsync on a host where ICMP is blocked; it should return a working URL instead of hanging
  • InstallDotnet / launcher compile should get past Get active mirrors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant