Skip to content
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

Renegade X Using HTTPS #232

Open
codylc opened this issue Sep 24, 2023 · 8 comments
Open

Renegade X Using HTTPS #232

codylc opened this issue Sep 24, 2023 · 8 comments

Comments

@codylc
Copy link

codylc commented Sep 24, 2023

Describe the issue you are having

Renegade X's launcher is now using HTTPS for game installs and updates. Reached out to the Totem Arts team on their Discord and confirmed the change.

As a result, game installs and updates no longer cache. The Renegade service should be removed until the launcher switches to HTTP.

The team also provided their new domain name for their CDN, though it isn't relevant since they're HTTPS: patches.totemarts.services

@Hornochs
Copy link

I talked with the developers and they told me they changed it back to HTTP 6 days ago. I wait for the domain names so I can update that 😊

@GotenXiao
Copy link
Collaborator

See #249 - this change should already be live. You will need to restart your lancache-dns and monolithic containers for those changes to take effect.

@andrew-2e128
Copy link

They changed it back to HTTPS, now it is no longer cachable.

@Hornochs
Copy link

What on … why?

@Cronus89
Copy link
Contributor

We didnt intentionally revert back to https, there is likely a automation somewhere that did it. Just need go take some time to dig into that :) Will try to update you folks when I fix it.

@Cronus89
Copy link
Contributor

I believe I found the culprit, you can try it again now. It may take up to 24 hours for caching to expire everywhere.

@Hornochs
Copy link

I believe I found the culprit, you can try it again now. It may take up to 24 hours for caching to expire everywhere.

Thanks mate 😍

@codylc
Copy link
Author

codylc commented Feb 5, 2025

Stood up a new instance of lancache last night to test this. Caching other clients successfully (Steam, Xbox, EA). When I test off lancache-dns, I can see in the launcher log that the download URLs are now HTTP. 🎉

[2025-02-04 19:09:06.523] [info]  Got request to start update for renegade_x at C:\Users\codyl\AppData\Local\renegade_x using the CLI patcher.
[2025-02-04 19:09:06.524] [debug] Using patcher executable at C:\Program Files\Totem Arts Launcher\patcher\tapatcher\tapatcher.exe
[2025-02-04 19:09:06.525] [debug] Using xdelta executable at C:\Program Files\Totem Arts Launcher\patcher\xdelta\xdelta3-3.1.0-x86_64.exe
[2025-02-04 19:09:06.761] [debug] Patching Process Started! Verifiers 4 :: Patchers 4 :: Downloaders 4
[2025-02-04 19:09:06.762] [debug] Using patcher at C:\Program Files\Totem Arts Launcher\patcher\tapatcher\tapatcher.exe and xdelta at C:\Program Files\Totem Arts Launcher\patcher\xdelta\xdelta3-3.1.0-x86_64.exe.
[2025-02-04 19:09:06.807] [info]  Patcher: Scanning files in installation directory 'C:\Users\codyl\AppData\Local\renegade_x'.
[2025-02-04 19:09:06.809] [info]  Patcher: Computing checksums of 0 files, 0 checksums already known from manifest.
[2025-02-04 19:09:06.811] [info]  Patcher: Downloading 1238 patch files.
[2025-02-04 19:09:06.811] [info]  Patcher: Downloading 'http://patches.totemarts.services/Patch15980/full/A8190DB15F8D4FE5C37841289196CEAC938E64130353F4307606F5197BAE2E70'.
[2025-02-04 19:09:06.812] [info]  Patcher: Downloading 'http://patches.totemarts.services/Patch15980/full/A7139F92952AE5FB41CCA7E2E8DDA6DAD3F0DD2EA8373951453F8CA850C3082B'.
[2025-02-04 19:09:06.812] [info]  Patcher: Downloading 'http://patches.totemarts.services/Patch15980/full/4C3A0CB2A1B65DB5BCBE750BF9BA17BF359135072B3F53232D420D72397D414E'.

At risk of scope creeping this issue, I wanted to report I'm still failing to cache when behind lancache-dns. When I swing DNS to lancache-dns, the game never begins the download from the launcher. When I would normally see it verifying the directory before download, the client quickly returns "Failed to install game".

Image

Log below shows two attempts to download.

[2025-02-04 19:07:49.327] [info]  Got request to start update for renegade_x at C:\Users\codyl\AppData\Local\renegade_x using the CLI patcher.
[2025-02-04 19:07:49.328] [debug] Using patcher executable at C:\Program Files\Totem Arts Launcher\patcher\tapatcher\tapatcher.exe
[2025-02-04 19:07:49.329] [debug] Using xdelta executable at C:\Program Files\Totem Arts Launcher\patcher\xdelta\xdelta3-3.1.0-x86_64.exe
[2025-02-04 19:08:16.837] [info]  Setting game.renegade_x.install_path => C:\Users\codyl\AppData\Local\renegade_x
[2025-02-04 19:08:16.911] [info]  Got request to start update for renegade_x at C:\Users\codyl\AppData\Local\renegade_x using the CLI patcher.
[2025-02-04 19:08:16.912] [debug] Using patcher executable at C:\Program Files\Totem Arts Launcher\patcher\tapatcher\tapatcher.exe
[2025-02-04 19:08:16.913] [debug] Using xdelta executable at C:\Program Files\Totem Arts Launcher\patcher\xdelta\xdelta3-3.1.0-x86_64.exe

LanCache access.log shows this log entry
[renegadex] 192.168.2.100 / - - - [04/Feb/2025:19:23:39 -0600] "GET /Patch15980/instructions.json HTTP/1.1" 206 0 "-" "node-fetch" "MISS" "patches.totemarts.services" "-"

Swing it back to public DNS and it downloads like a champ.

The path from the LanCache log (patches.totemarts.services/Patch15980/instructions.json) loads successfully in a browser when behind LanCache-DNS over HTTPS but not HTTP. I can't make sense of the issue beyond this point, so hoping someone reproduces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants