FiveM Query Error when starting server

I have rebuilt the server many many times and the same error keeps arising. Its super frustrating. Any help would be much appreciated!

Query error

System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 15 seconds elapsing.

14 Likes

If you are getting a HttpClient timeout you probably didn’t port forward or your firewall is blocking

3 Likes

All firewalls are down. Including windows defender antivirus. How would I go about port-forwarding? (how do I do it?)

2 Likes

Is it a home hosted server? if so you will have to consult your router’s manual

Attention!! I’ve FOUND A SOLUTION!!! I’ve been trying to figure it out for days and I finally found the issue!!! Not Even FiveM support could help me and I believe this is the only answer to this solution that is out there!!!

Step 1.
Look up on youtube how to ā€œPort Fowardā€ and follow all instructions in the video!

Step 2.
Go into your router and setup your port forwarding and set all ports to ā€œ30120ā€. This fixed the error instantly!

Goodluck all!

15 Likes

I tried that and it’s not working for me. Router settings and Firewall settings are both at 30120 and I still get the error I’m so confused.

3 Likes

i got this on one of my servers on the same network… configure two of them the same with different ports.

Mine still doesnt work. I have done everything : (

I am on a linux vps and the firewall was stopped. I stopped the firewall again and I think it fixed my issue. Thanks.

1 Like

how , you can stop firewall in vps server?

depends on the one you are using, but if for example you are running UFW

sudo ufw disable

If you are using something like IPTABLES then it will be different

What if you can’t portforward through your router

2 Likes

It works, thank you very much!

More less your going to have to rent a server from them

1 Like

Then looking to renting a server

1 Like

Settings but it don’t your Wi-Fi provider is blocking the connection

1 Like

i cant manage my routher because when i type my routher ip in the browser it says ā€œthis site cant be reachedā€ pls help

i get this error on home hosted server and my vps clien, i have all ports forwarded, including the txadmins port. still get the error it is not related to port forwarding all all ports are forwarded correctly.

By doing that you are violating the router, I do not recommend hosting at home unless you know exactly what you are doing. (srry for my bad english)

Server list query returned an error: System.Threading.Tasks.TaskCanceledException: A task was canceled. ← System.TimeoutException: A task was canceled. ← System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing.

3 Likes