Giter Site home page Giter Site logo

Comments (11)

TheGrandPackard avatar TheGrandPackard commented on July 22, 2024 1

Might have answered my own question by RTFM.. Looks like steamcache does provide an sniproxy container:

docker run \
  --restart unless-stopped \
  --name sniproxy \
  -p 443:443 \
  steamcache/sniproxy:latest

I can give that a shot

from cache-domains.

TheGrandPackard avatar TheGrandPackard commented on July 22, 2024

Also, when I was troubleshooting it, I believe the nydus.battle.net was getting redirected to HTTPS which would obviously bork the caching capabilities. I don't recall this being an issue a few months back when I ran the same setup.

from cache-domains.

Lepidopterist avatar Lepidopterist commented on July 22, 2024

Hey,

Can I ask where you're located geographically?

We also ran a fairly large LAN this weekend in the UK, and Battle net was fine so I suspect this CDN alias is geographic, and should probably be excluded if it is redirecting to https.

from cache-domains.

TheGrandPackard avatar TheGrandPackard commented on July 22, 2024

Southern California, just north of Los Angeles (USA). I set up the DNS forwarder on steamcache-dns to my router, which should be pulling DNS from the ISP via DHCP (Spectrum/Time Warner Cable).

I wouldn't be surprised at all if it was a geo-dependent which means that there's not a clean/one size fits all solution. Fortunately I didn't waste too much time in finding which domain it was with tcpdump.

I'll upload the error message from battle.net tonight and it can at least be noted if it comes up in the future with a workaround.

from cache-domains.

Crabbey avatar Crabbey commented on July 22, 2024

Just to check, were you running SNIProxy or similar on all caches you were running?
This allows SSL to be transparently proxied. It does mean that those connections cannot be cached though, but at least downloads would work.
Potentially that domain has partially migrated to SSL for the US only?

from cache-domains.

TheGrandPackard avatar TheGrandPackard commented on July 22, 2024

I don't know whether or not I was running SNIProxy as I was using the steamcache docker containers, but I only had port 80 bound, so I assume that it wouldn't work for HTTPS anyways. Do you know if that's a supported feature of steamcache, or do you use something else that supports it?

I was running the steamcache-dns docker container with the following config:

docker run \
--name steamcache-dns \
-p 10.0.1.27:53:53/udp \
-e STEAMCACHE_IP=10.0.1.27 \
-e UPSTREAM_DNS=10.0.1.1 \
steamcache/steamcache-dns:latest

and the steamcache docker container with the following config:

docker run \
  --name steamcache \
  -v /cache/steam/data:/data/cache \
  -v /cache/steam/logs:/data/logs \
  -p 10.0.1.27:80:80 \
  steamcache/generic:latest

from cache-domains.

Crabbey avatar Crabbey commented on July 22, 2024

Ah!
steamcache.net also maintain a container for sniproxy: https://github.com/steamcache/sniproxy
This container is mentioned on the readme for steamcache/generic, under "Origin / SSL"

from cache-domains.

Lepidopterist avatar Lepidopterist commented on July 22, 2024

So, it looks like if this CDN hostname is included in the cache, you'll need to run sniproxy to pass through https.

We'll validate the info from the logs from our last event, then decide how to handle it here.

Thanks!

from cache-domains.

adamradocz avatar adamradocz commented on July 22, 2024

I had the same issue yesterday with the overwatch, even tho I use the sniproxy container.

from cache-domains.

adamradocz avatar adamradocz commented on July 22, 2024

I had to forwarding the port of DNS, now it's working.

from cache-domains.

TheGrandPackard avatar TheGrandPackard commented on July 22, 2024

I was able to test this with the sniproxy running and it works as expected. It's strange that a few months ago it wasn't necessary, but i'm glad it's there and getting it done for me now.

from cache-domains.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.