Hello,
For several days now since our server was launched we keep getting HTTP 504 error after server restarts especially, some users reporting this error even while the server was not restarted.
We are experiencing this on two servers on the same host, using Debian 13 as the operating system. The main server runs on the default port, the development one runs on port 30121
both servers have „set sv_forceIndirectListing false”, we even tried setting that to true and didn’t help
the servers are using qb core as framework but a lot of custom scripts
it is hard to think this is something script related as this happens even before the fivem client reaching the server
the flow of the error is: you click from the browser list or recently connected to connect to the server, you get for a brief second „Fetching server info” and immediately you get HTTP Error 504 and stays like that even after multiple retries
eventually it gets fixed on its own but we also found a manual fix by going to „AppData\Local\FiveM\FiveM.app\data\nui-storage\IndexedDB\https_nui-game-internal_0.indexeddb.leveldb” and deleting the contents, specifically the ldb file
we use some iptable rules to accept tcp on ports 80, 443 only connections from cloudflare IPs and drop everything that isn’t from those IPs
we don’t have any rules the actual ports used by the server for them to be blocked
has anyone experienced such an issue and managed to find the cause?
