lancachenet / monolithic

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

Store.steampowered.com #95

Closed Coffee0297 closed 4 years ago

Coffee0297 commented 4 years ago

Hello, ive just got this container running again. but now i have a problem. https://store.steampowered.com/ dont work for me, at all. i have sniproxy, monolith and lancache installd and running.

VibroAxe commented 4 years ago

Hi there

Thanks for using lancache. We are going to need a bit more information to help though ;)

Can you 1) upload the access.log for monolithic and the docker log for sniproxy?

2) Can you also run the following from your windows box

nslookup lancache.steamcontent.com
nslookup store.steampowered.com
nslookup steam.cache.lancache.net

3) Could you also give us the full command you used to create the containers? (If you can't remember you can try docker run --rm -v /var/run/docker.sock:/var/run/docker.sock \ assaflavie/runlike <YOUR-CONTAINER> but it's not guaranteed to work ;) )

Coffee0297 commented 4 years ago

Thanks, but it works again... i have no idea how or why....

We are using this for a lan party with 300+ members :D so i need to be shure this works :D



[steam] 10.0.0.103 / - - - [30/Jan/2020:18:10:44 +0000] "GET /appinfo/252950/sha/18142d76e1ea64c3a23ae1e9ca31f2355b4bc03d.txt.gz HTTP/1.1" 200 4215 "-" "Valve/Steam HTTP Client 1.0" "MISS" "clientconfig.akamai.steamstatic.com" "-"
[wsus] 10.0.0.103 / - - - [30/Jan/2020:18:17:59 +0000] "GET /msdownload/update/v3/static/trustedr/en/authrootstl.cab?f458f47890540004 HTTP/1.1" 200 58806 "-" "Microsoft-CryptoAPI/10.0" "HIT" "ctldl.windowsupdate.com" "-"
[steam] 10.0.0.103 / - - - [30/Jan/2020:18:21:42 +0000] "GET /server-status HTTP/1.1" 200 75 "-" "Valve/Steam HTTP Client 1.0" "HIT" "ipv6check-http.steamcontent.com" "-"
[steam] 10.0.0.103 / - - - [30/Jan/2020:18:22:24 +0000] "GET /server-status HTTP/1.1" 200 75 "-" "Valve/Steam HTTP Client 1.0" "HIT" "ipv6check-http.steamcontent.com" "-"
[steam] 10.0.0.103 / - - - [30/Jan/2020:18:22:54 +0000] "GET /server-status HTTP/1.1" 200 75 "-" "Valve/Steam HTTP Client 1.0" "HIT" "ipv6check-http.steamcontent.com" "-"
[steam] 10.0.0.103 / - - - [30/Jan/2020:18:25:07 +0000] "GET /server-status HTTP/1.1" 200 75 "-" "Valve/Steam HTTP Client 1.0" "HIT" "ipv6check-http.steamcontent.com" "-"
[steam] 10.0.0.103 / - - - [30/Jan/2020:18:26:03 +0000] "GET /server-status HTTP/1.1" 200 75 "-" "Valve/Steam HTTP Client 1.0" "HIT" "ipv6check-http.steamcontent.com" "-"

nslookup lancache.steampowered.com
Server:  OpenWrt.lan
Address:  10.0.0.1
*** OpenWrt.lan can't find lancache.steampowered.com: Non-existent domain

nslookup store.steampowered.com
Server:  OpenWrt.lan
Address:  10.0.0.1
Non-authoritative answer:
Name:    store.steampowered.com
Address:  104.94.22.236

nslookup steam.cache.lancache.net
Server:  OpenWrt.lan
Address:  10.0.0.1
*** OpenWrt.lan can't find steam.cache.lancache.net: Non-existent domain  ``

it looks like its the first hit on sertan servers that makes issue. i had to try 2 times to log in to steam too..
-Tonny
unspec commented 4 years ago

Hi,

Firstly steam has been having issues today: https://steamstat.us/ so you might find its related to that and not to your cache.

Secondly, your machine seems to be getting DNS results directly from your router (10.0.0.1) which is returning the public IPs of the steam CDN. Are you not handing out the IP of your cache (lancache-dns) as the DNS server to your clients? Without the correct DNS results your cache will not work properly.

Thanks,

VibroAxe commented 4 years ago

Pretty sure your original issue is a steamstore issue. As @unspec says your DNS is not setup correctly and is bypassing lancache completly

There's something a bit odd as you are seeing VERY limited traffic hitting lancache (the server-status requests). Have you set two dns' servers in your dns configuration in openwrt? (Perhaps you could post the output of ipconfig -a for your main network interface on your gaming pc)

You may also find useful information from the docker logs monolithic command which is why we ask for the container output in the new issue template.

OOI, What lan are you running?

Coffee0297 commented 4 years ago

ive just setup a new lan. do this look correct? image

thanks so much for the help so far

VibroAxe commented 4 years ago

@Coffee0297 looks good, i actually gave the wrong domain in the other post, you should find lancache.steamcontent.com resolving to 10.0.0.45 then you are good to go assuming you now see results in your monolithic log!

Coffee0297 commented 4 years ago

Thanks, shuld i open a new issue for speed "issue"? or just continue here? -Tonny

VibroAxe commented 4 years ago

Talk us through your issue here first?

Coffee0297 commented 4 years ago

well im not getting the speed i was hoping for, im getting 40MB pr second from the cache, i have 6-7 15k rpm disks in raid 0 and 2x xeon cpus, 32gb ram.

VibroAxe commented 4 years ago

Closed, did you fix this?

Coffee0297 commented 4 years ago

i fixd the store.steam issue, i still have issue with throughput tho. made a new issue regarding that