Open coddec opened 3 weeks ago
For record. Disabling nginx buffer makes the 0KB time form 10 seconds to none, however nothing is cached.
/etc/nginx/sites-enabled/20_upstream.conf
Upstream server to proxy and handle inconsistent 302 redirects
# All cache traffic is passed through this proxy to allow rewriting of redirects without caching
# This is particularly important for sony / ps5 as upstreams redirect between them which confuses slice map on caching
server {
# Internal bind on 3128, this should not be externally mapped
listen localhost:3128 reuseport;
proxy_request_buffering off;
proxy_buffering off;
# No access_log tracking as all requests to this instance are already logged through monolithic
# access_log /data/logs/upstream-access.log cachelog;
error_log /data/logs/upstream-error.log;
include /etc/nginx/sites-available/upstream.conf.d/*.conf;
}
/etc/nginx/sites-enabled/10_generic.conf
# Primary monolithic cache engine
server {
listen 80 reuseport;
proxy_request_buffering off;
proxy_buffering off;
access_log /data/logs/access.log cachelog;
error_log /data/logs/error.log;
include /etc/nginx/sites-available/cache.conf.d/*.conf;
}
I second this issue, same situation right now.
Tried every fix I can think of. None worked. Squid forward proxy can easily cache epic downloads, though default config will have cache miss problem if the CDN changes without storid program. Squid can't cache Steam by default, as steam uses https by default. Can't point lancache.steamcontent.com to squid as it is in forward proxy mode. Hope lancache can get it fixed, so that we can still use it for game caching. Thanks,
also having this issue
also having this issue
Tried every fix I can think of. None worked. Squid forward proxy can easily cache epic downloads, though default config will have cache miss problem if the CDN changes without storid program. Squid can't cache Steam by default, as steam uses https by default. Can't point lancache.steamcontent.com to squid as it is in forward proxy mode. Hope lancache can get it fixed, so that we can still use it for game caching. Thanks,
Disabled nginx slicing on my end i had little improvements but its still not reliable as it used to be unfortunately.
Do they have any version tags to use other than latest?
Edit1: Switching to a "latest" release from couple of ~weeks~ months ago doesn't fix it either. Since lancache doesn't do version tags I used the only other sha256 I could find in a hurry from the truecharts release, where they switched to upstream images instead of their own: https://github.com/truecharts/charts/commit/e6a70eef32f584e2ca86c54ae5ba6fb0a7067c39
here the tag i used:
lancachenet/monolithic:latest@sha256:b72d6b909b9e3fb7b521e90aab97479f7977bf6bee97e89a095e1afdbd6d3b85
Edit2:
same with 7077061f078ebf2208a0906153cf13f9a979f47cab19619b28c47b35b3d8eaf5
and with tpill90's version with updated base images. He's got a PR open for those changes (https://github.com/lancachenet/monolithic/pull/191)
Describe the issue you are having
Case 1 Without lancache, Epic downloads GTA fine with full WAN speed
Case 2 With lancache, Epic prefill (https://github.com/tpill90/steam-lancache-prefill) for GTA will download at full WAN speed no stop or pause.
Case 3 With lancache, Epic and RIOT games downloading via Epic client or RIOT client will download at full speed at start then drop to 0, stay at 0 for sometime then back to full speed, then repeat. While this is happening lancache will have error log entries like shown below (I can see that the container is not downloading too, certainly not that container is downloading the client is waiting case. In other words not this https://lancache.net/docs/common-issues/#slow-download-speeds) The Epic client also show error message "We're sorry. It looks like we're having trouble connecting. We'll continue to retry" Click on it lead to https://www.epicgames.com/help/en-US/c-Category_EpicGamesStore/c-EpicGamesStore_ErrorCodes/is-0005-unable-to-connect-a000084850 stating "IS-0005: Unable to connect, This error is caused when your computer is not connected to the internet."
My internet is certainly working and there's no fluctuation, otherwise Epic prefill will experience the same issue. Client computer to LAN and internet connection is also working fine. Content are cached though. Enough disk space, enough CPU and RAM etc. Client PC is fine too. 12MB/s should not upset NIC since tested on 1g NIC and 10g sfp+ dac. This issue makes the download taking way longer than it should be.
Case 4 Steam download works fine. Content are cached.
Tried to clear all cache Tried to change slice size between 1M - 8M Tried to disable slice, by setting to 0 Add multiple IP to lancache host tested, no help No client RAM, CPU, Disk issue No lancache host RAM, CPU, Disk issue ...
How are you running the container(s)
DNS Configuration
Output of container(s)
Any help appreciated. TIA