Title: Players randomly stuck on loading screen and then timed out after 60 seconds (1, 0) with no console or F8 errors
What happened?
Some players get stuck on the loading screen indefinitely and are eventually disconnected with the following message:
[1]
Expected result
Players should connect to the server successfully without timing out or getting stuck on the loading screen.
Reproduction steps
Nothing it just started happening out of nowhere and didnt change anything
Importancy
Crash
Area(s)
RedM, FiveM
Specific version(s)
29052 linux
Additional information
No response
Artifacts after version 28871 made a change to how FXServer handles players that stop responding to packets from the server.
Before, the server would hold on to unacknowledged packets for 60 seconds. This meant that players that experienced freezes when joining would take up considerable RAM and CPU on the server, as it tried to recover the frozen players.
After artifact 28871, the server progressively starts "forgetting" old frames after 5 seconds, even if the client hasn't acknowledged them. This means that those players with bad PCs that freeze on loading are more susceptible to timing out. But is significantly (60-80%) reduces RAM usage on the server. I believe the players that have freezes on the loading screen always had that, but it would eventually "unfreeze" before, whereas now it results in a time out.
The change probably isn't final and can be tweaked or reverted at any point. As a reminder, the recommended artifact (25770) is the one considered stable and newer artifacts can have experimental or unstable changes.
I can say that happends on my server too , i try many things with host but it will only affect few players and i never resolved this.
I KNEW IT. We have been getting this for several weeks for no reason! No clue why. Latest artifacts! I wish I could pinpoint the exact artifacts it started happening on our end but unfortunately I am not sure.
Hi, We have been seeing this for some time as well. Wish there was some config of after how many skipped frames player should be kicked. However the optimalization is solid. Looking forward for any additional feedback.
Is there any way to mitigate the impact to lower end clients? On artifacts 29052 Linux, this is starting to happen more frequently, especially with users with lower end hardware.
You can either use the stable artifact 25770 (make sure to disable node_version '22' from any resources if you do) or try to limit the amount of work scripts do when a person joins a server. For example delay any loading of data by a few seconds after joining. Some scripts like to load the location of every pickup on the map right after the player joins, which puts strain on the already overloaded bad hardware these players have.
I do hope this will be fixed soon though. Either by increasing the amount of unacknowledged frames the server can hold, by making some exception for the first few frames after joining, or by optimizing the large size of the first frame after joining.
been seeing this as well and tried a lot of things to limit it but nothing worked so far really hope this is fixed soon ...
Yea its a serious problem. Several players every hour cannot get in and usually give up.
This is a artifact issue, I havent had an issue on 28108
Well yea because they probably made some commit causing the issue. But downgrading isn't really going to solve it we have to upgrade at some point.
Its still happening as of latest artfacts today. 30819
However, if 28108 is the last artifact before it started happening well then we have a place to start looking at what was changed on the next artifact version.
Yikes. Windows build here. No errors on client or server that I could find either.
Any news on this ?
There is an experimental server build for this issue available on these links:
Windows FXServer: https://runtime.fivem.net/artifacts/fivem/build_server_windows/feature/framestates_v2/?t=1 Linux FXServer: https://runtime.fivem.net/artifacts/fivem/build_proot_linux/feature/framestates_v2/?t=1
From what I've heard from servers testing it, it massively reduces the timeouts but doesn't completely eliminate them. Feel free to test and give your feedback as well.
I will try and write here.
I will try and write here.
is everything good?
I will try and write here.
is everything good?
Not really. Now it works good for everyone , and then in same time it will time out 3/4 players.
I don't believe that has anything to do with the changes. (1, 1100) means the client missed 1100 frame updates from the server. At 15 ticks per second that's over 73 seconds of missed information. It's just that before (on artifact 25770) it would show as a Server->client connection timed out and now it shows it as Timed out after 60 seconds.
Also it happening to 4 players at the same time probably implies that it's a networking issue - could be on your hosting provider, on the clients if they all have the same ISP provider or on regional routing between your server and the clients.
With that being said, some servers on this branch are still reporting (1, 0) timeouts, which are related to the recent changes. But I think yours aren't.
considered
I really hope they revert it.
The ownice is on a server owner to have a strong server machine. If not, then they need to upgrade if they are serious. But... what we cannot do is control what PC specs clients have.
This change just results in losing so many new players. Even some of our own Staff on laptops or weaker WiFi can no longer play they time out now 4/5 attempts to join for example. Meanwhile the server barely hits 20% memory usage and 2% CPU usage with 80 players.
Clients should be the focus in this instance.
this is 100% artifacts everything was fine before
Yes, it's an issue with the newer artifacts and solutions are being looked into.
really hope so cuz its bad right now ...