[Bug] fileserver usage problems for caching/proxying #146
Replies: 3 comments 4 replies
|
Fileserver regex should work. The fileserver is added to the resource list.json and the client downloads these from that path. Storing these as hashes in the cache would make sense yes. But thats considered a feature request for later. |
|
Can confirm on the latest early-access Linux artifact (bXX, 2026-07-25): Setup:
Observed on a fresh client join (client servercache wiped beforehand): Not a single
|
|
A fix for this bug has been implemented and is available in Hotfix 5. Please try again and let us know if the issue persists. Thanks for your help! |
Uh oh!
There was an error while loading. Please reload this page.
Summary
I also noticed only the
files.jsonrequests get requested via the fileserver, which the request URI contains no hash, so it makes trying to cache the files a little tricky, since we could cache them but when they need to reach the stale point is a bit unknown, as changes to the resource could happen within 5 minutes of caching it for no changes for weeks. Legacy FXServer, used to have a hash in the request which changed as the resources were updated.But currently that's a moot point because the actual resource downloads aren't using the fileserver either, it is able to retrieve the json files fine, just now the actual resources. Unless there's a new settings required to make this work.
set adhesive_cdnKey "iqpkZpcMW8LHqC51CAbpGisE3xVwRbB6keLvD"
fileserver_add ".*" "https://cache.domain.com/"
This is done to prevent the game server's network being maxed out while players are joining, which causes lag spikes and packetloss.
Issue type
Both / Unsure
Repro rate
Always
Server build version
FXServer-early-access b94 win32
OS
No response
CPU
No response
GPU
No response
RAM
No response
Storage type
None
Connection type
None
ISP and bandwidth
No response
DxDiag
No response
Network graph
No response
Platform
None
OS version / distribution
No response
CPU
No response
RAM
No response
Using txAdmin?
None
Hosting provider
None
Machine type
None
/perf endpoint output
No response
DDoS protection
No response
ulimit -n value (Linux only)
No response
Docker Compose file (Docker only)
No response
Steps to Reproduce
Expected Behavior
Requests to contain a version hash of the resource. JSON and actual resource files to use the cache/proxy server
Actual Behavior
Only the
files.jsonfiles are hitting the nginx service, and the actual resources themselves aren't. Plus no version key.Evidence
No response
Additional Context
No response
All reactions