-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
What happened?
Originally reported here in the Cfx.re Discord.
Some functionalities like sending the server heartbeart, authenticating with Nucleus, checking the server license key (presumed, in the private repo) set HttpRequestOptions.ipv4 = true.
This ends up setting the CURL_IPRESOLVE_V4 flag which uses only IPv4 addresses and fails on servers set up such that the server only has IPv6 enabled but has a reverse proxy accepting both IPv4 and IPv6. I think such setups are rare, but also valid so it might be worth investigating.


Expected result
FXServer should be able to start, authenticate and heartbeat in IPv6-only configurations
Reproduction steps
- Get a server with both IPv4 and IPv6 support
- Disable IPv4
- Attempt to start FXServer
- Get the "An error occured while checking the server license key" error.
Importancy
There's a workaround
Area(s)
FXServer
Specific version(s)
FXServer 17000+
Additional information
d4c76bf switched Nucleus authentication to IPv4 only but the commit message doesn't explain the reason why.