CURL 28 error in FiveM means that a network operation timed out — essentially, the client tried to connect to the server or fetch data, but didn’t get a response within the timeout limit.
Error 28 message:
"Timeout was reached."
This usually points to a slow server response, a blocked request, or network-level delays.
Common Causes & Fixes
Slow or Overloaded Server
Server takes too long to respond (e.g., due to high CPU/RAM usage or slow scripts).
Restart the server to clear up processes.
Check for heavy scripts causing delays in startup or response.
Monitor your server CPU/RAM usage.
Bad or infinite loops in resources.
Use profiling tools like txAdmin's profiler or sv_profile 1 in console.
Internet or Routing Issues
The client (player) can’t reach the server within the timeout period.
Restart router/modem.
Test with a different network or VPN.
Try connecting using direct IP (F8 console → connect <IP>:30120).
ISP routing delays or packet loss.
Check for packet loss using ping or tracert or MTR to the server IP.
Port forwarding not set correctly.
On the servers Windows Firewall, ensure the following Inbound Rules are properly created:
Ensure port 30120 (UDP and TCP) are open and properly forwarded.
Ensure port 40120 (TCP) is open and properly forwarded.
Misconfigured Reverse Proxy or Nginx/Apache Timeout
If using reverse proxies (e.g., Nginx), their timeout settings could be too low or misconfigured.
Increase timeout settings like proxy_read_timeout in Nginx config.
Avoid reverse proxies unless absolutely needed for web UI.
DNS Resolution Delays
The domain name the server is trying to reach (like for server license checks or endpoints) is slow to resolve.
Try using Google's DNS (8.8.8.8 and 8.8.4.4).
Try using Cloudflare's DNS (1.1.1.1 and 1.0.0.1)
Flush DNS cache: ipconfig /flushdns (Windows).
On server, edit /etc/resolv.conf and set nameserver to 8.8.8.8. (Google) or 1.1.1.1 (Cloudflare).
Client Cache Issues
Corrupted client-side cache can stall the request process.
Have the player clear their FiveM cache:
Close FiveM
Go to %localappdata%\FiveM\FiveM.app\data\cache and delete everything except the game folder.
Bonus Tips!
Check server logs (especially startup logs and any long load times).
Use curl -v https://cfx.re/join/... to test response speed manually.
On the server, try ping and curl to external services (like google.com) to test internet responsiveness.