-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steam using SSL for downloads, no caching #159
Comments
I believe this is not an issue with lancache per-se, but you would have better connections at Valve to look into why they are trying to transfer game-files via https. |
What seems to have helped is actually reverting the mentioned PR, thus forcing http from lancache. |
I've addressed this in the issue on cache-domains, but essentially: Reverting that PR and using the old cache domains won't help with caching. If Steam detects an error using a lancache - a 404 or other error, possibly from the upstream CDN, it will switch back to going directly to the content servers for a few minutes, bypassing the lancache, and may upgrade the connection back to HTTPS. If this happens - even if you had the full list of hostnames, all that is happening is the HTTPS traffic is now being passed through your LAN Cache and will not be cached. To see if this is the problem here, check the content_log.txt file in your Steam directory. If you have lines saying We have no control over this behaviour of the Steam client and it is intended behaviour by Valve. Check the logfile and let me know if you are seeing messages like that in it. |
I also have the problem, that Steam randomly switches to SSL downloads. Sometimes this is due to the cache "hanging" for a few seconds when downloading a game for the first time but usually its completely out of the blue. I have no explanation for this behaviour. ===CACHE=== ==> /mnt/hdd/lancache/logs/error.log <== ==> /mnt/hdd/lancache/logs/access.log <== ==> /mnt/hdd/lancache/logs/upstream-error.log <== ===CLIENT=== ==> C:\Program Files (x86)\Steam\logs\content_log" <== |
This reply already mentioned the cause.
However you can circumvent this by actually re-adding all the CDN-Servers, and thus forcing a connection to your LAN-Cache. Which you can do by using your own repo: Everything is working as intended by the software and developer, just the user is confused. |
We have spoken to Valve and they have fixed this in the latest update to Steam. |
Describe the issue you are having
I am using the Linux-client for Steam and lancache didn't seem to work suddenly (after switching from windows).
Most of the connections are made via port 443 and therefor not cached. Only after the third or fourth re-run I have now gotten some connections via port 80 (but still only around half of speeds I have historically gotten).
How are you running the container(s)
I run monolithic with a pihole dns to point to monolithic.
DNS Configuration
The DNS-server is pihole and resolves
lancache.steamcontent.com
properly to the correct address (verified withdig
).Since uklans/cache-domains got a recent PR which removes most of the addresses, I thought this might be the problem, and added the old addresses back. Which did not only partially seem to resolve the problem.
Output when starting a download
192.168.0.5
=lancache.steamcontent.com
192.168.0.50
= PC running SteamOn PC
netstat -natp | grep steam
On Lancache-server
netstat -natp | grep 192.168.0.50
The text was updated successfully, but these errors were encountered: