lancachenet / monolithic

A monolithic lancache service capable of caching all CDNs in a single instance
https://hub.docker.com/r/lancachenet/monolithic
Other
728 stars 73 forks source link

Download stuck after a while #70

Closed mvivaldi closed 4 years ago

mvivaldi commented 4 years ago

Describe the issue you are having

Unable to finish the download of Arma 3. The download start but stop after some time (tried with multiple client and with lancache-autofill). I tried about 10 games and they all download nicely, but with arma 3 I'm unable to complete the download.

How are you running the container(s)?

docker run --restart unless-stopped --name lancache -e CACHE_MEM_SIZE=1000m -e CACHE_DISK_SIZE=400g -e CACHE_MAX_AGE=100d  --detach -v /data/cache/data:/data/cache -v /data/cache/logs:/data/logs -p 80:80  lancachenet/monolithic:latest

DNS Configuration

I have a dnsmasq that include a file like this:

address=/.content.steampowered.com/192.168.1.230
address=/content1.steampowered.com/192.168.1.230
address=/content2.steampowered.com/192.168.1.230
address=/content3.steampowered.com/192.168.1.230
address=/content4.steampowered.com/192.168.1.230
address=/content5.steampowered.com/192.168.1.230
address=/content6.steampowered.com/192.168.1.230
address=/content7.steampowered.com/192.168.1.230
address=/content8.steampowered.com/192.168.1.230
address=/cs.steampowered.com/192.168.1.230
address=/steamcontent.com/192.168.1.230
address=/client-download.steampowered.com/192.168.1.230
address=/.hsar.steampowered.com.edgesuite.net/192.168.1.230
address=/.akamai.steamstatic.com/192.168.1.230
address=/content-origin.steampowered.com/192.168.1.230
address=/clientconfig.akamai.steamtransparent.com/192.168.1.230
address=/steampipe.akamaized.net/192.168.1.230
address=/edgecast.steamstatic.com/192.168.1.230
address=/steam.apac.qtlglb.com.mwcloudcdn.com/192.168.1.230
address=/.cs.steampowered.com/192.168.1.230
address=/.cm.steampowered.com/192.168.1.230
address=/.edgecast.steamstatic.com/192.168.1.230
address=/.steamcontent.com/192.168.1.230
address=/cdn1-sea1.valve.net/192.168.1.230
address=/cdn2-sea1.valve.net/192.168.1.230
address=/.steam-content-dnld-1.apac-1-cdn.cqloud.com/192.168.1.230
address=/.steam-content-dnld-1.eu-c1-cdn.cqloud.com/192.168.1.230
address=/steam.apac.qtlglb.com/192.168.1.230
address=/edge.steam-dns.top.comcast.net/192.168.1.230
address=/edge.steam-dns-2.top.comcast.net/192.168.1.230
address=/steam.naeu.qtlglb.com/192.168.1.230
address=/steampipe-kr.akamaized.net/192.168.1.230
address=/steam.ix.asn.au/192.168.1.230
address=/steam.eca.qtlglb.com/192.168.1.230
address=/steam.cdn.on.net/192.168.1.230

the file is generated using the repository https://github.com/uklans/cache-domains.git

Output of container(s)

error.log

2019/11/08 08:03:16 [error] 1350#1350: *2444 unexpected status code 200 in slice response while reading response header from upstream, client: 192.168.1.227, server: , request: "GET /depot/107411/chunk/1262332e14ff241b0c02698452afbe6277eb25f1 HTTP/1.1", subrequest: "/depot/107411/chunk/1262332e14ff241b0c02698452afbe6277eb25f1", upstream: "http://155.133.250.100:80/depot/107411/chunk/1262332e14ff241b0c02698452afbe6277eb25f1", host: "cache55-fra1.steamcontent.com"
2019/11/08 08:03:16 [error] 1345#1345: *2443 unexpected status code 200 in slice response while reading response header from upstream, client: 192.168.1.227, server: , request: "GET /depot/107411/chunk/ade1bef3e17254cb3bcf925a59f1385e78ac2f34 HTTP/1.1", subrequest: "/depot/107411/chunk/ade1bef3e17254cb3bcf925a59f1385e78ac2f34", upstream: "http://155.133.250.70:80/depot/107411/chunk/ade1bef3e17254cb3bcf925a59f1385e78ac2f34", host: "cache61-fra1.steamcontent.com"
2019/11/08 08:03:16 [error] 1345#1345: *2448 unexpected status code 200 in slice response while reading response header from upstream, client: 192.168.1.227, server: , request: "GET /depot/107411/chunk/46e36ad110c358ffca3bf561840a1d04624512dc HTTP/1.1", subrequest: "/depot/107411/chunk/46e36ad110c358ffca3bf561840a1d04624512dc", upstream: "http://155.133.250.70:80/depot/107411/chunk/46e36ad110c358ffca3bf561840a1d04624512dc", host: "cache61-fra1.steamcontent.com"
2019/11/08 08:03:16 [error] 1346#1346: *2447 unexpected status code 200 in slice response while reading response header from upstream, client: 192.168.1.227, server: , request: "GET /depot/107411/chunk/02af75944efc8b4c0feee605ee29c165dd46f1bf HTTP/1.1", subrequest: "/depot/107411/chunk/02af75944efc8b4c0feee605ee29c165dd46f1bf", upstream: "http://155.133.250.100:80/depot/107411/chunk/02af75944efc8b4c0feee605ee29c165dd46f1bf", host: "cache55-fra1.steamcontent.com"

access.log

[steam] 192.168.1.227 / - - - [08/Nov/2019:08:03:16 +0000] "GET /server-status HTTP/1.1" 200 75 "-" "Valve/Steam HTTP Client 1.0" "HIT" "cache61-fra1.steamcontent.com" "-"
[steam] 192.168.1.227 / - - - [08/Nov/2019:08:03:16 +0000] "GET /server-status HTTP/1.1" 200 75 "-" "Valve/Steam HTTP Client 1.0" "HIT" "cache55-fra1.steamcontent.com" "-"
[steam] 192.168.1.227 / - - - [08/Nov/2019:08:03:16 +0000] "GET /depot/107411/chunk/7f74c8847b58370f60be569a96e758429dd9709b HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "HIT" "cache20-fra1.steamcontent.com" "-"
[steam] 192.168.1.227 / - - - [08/Nov/2019:08:03:16 +0000] "GET /depot/107411/chunk/1262332e14ff241b0c02698452afbe6277eb25f1 HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "HIT" "cache55-fra1.steamcontent.com" "-"
[steam] 192.168.1.227 / - - - [08/Nov/2019:08:03:16 +0000] "GET /depot/107411/chunk/ade1bef3e17254cb3bcf925a59f1385e78ac2f34 HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "HIT" "cache61-fra1.steamcontent.com" "-"
[steam] 192.168.1.227 / - - - [08/Nov/2019:08:03:16 +0000] "GET /depot/107411/chunk/46e36ad110c358ffca3bf561840a1d04624512dc HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "HIT" "cache61-fra1.steamcontent.com" "-"
[steam] 192.168.1.227 / - - - [08/Nov/2019:08:03:16 +0000] "GET /depot/107411/chunk/02af75944efc8b4c0feee605ee29c165dd46f1bf HTTP/1.1" 200 0 "-" "Valve/Steam HTTP Client 1.0" "HIT" "cache55-fra1.steamcontent.com" "-"
[127.0.0.1] 127.0.0.1 / - - - [08/Nov/2019:08:06:26 +0000] "GET /steamcache-heartbeat HTTP/1.1" 204 0 "-" "Wget/1.19.4 (linux-gnu)" "-" "127.0.0.1" "-"
mvivaldi commented 4 years ago

Hi sorry for the delayed info, but after clearing all the cache I was able to download arma 3 (and everthing is working fine), I don't know what caused the issue.

You can close this issue.

Thank you