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

download does not progress #13

Closed
cholzer79 opened this issue Feb 16, 2023 · 3 comments
Closed

download does not progress #13

cholzer79 opened this issue Feb 16, 2023 · 3 comments

Comments

@cholzer79
Copy link

cholzer79 commented Feb 16, 2023

Enviroment:

  • LanCache 192.168.1.30 running on Unraid
  • LanCacheDNS 192.168.1.33 running on Unraid
  • LanCachePrefill running on Unraid

What works:

  • Steam Prefill works fine
  • Battle.net Prefill works fine
  • All gamelaunchers (Epic, steam, EA, battlenet, GoG) work fine on my windows machines and use the LanCache. In the image below you can see the Epic Launcher download Fortnite which goes through the LanCache at the maximum speed of my internet connection (Fornite was not in the LanCache yet)

epic_launcher

What does not work:

While I can completelly configure EpicPrefill in both the Unraid Docker as well as the standanlone windows application, the prefill download does not progress and stays at 0% with no network traffic.

The bandwitdh value shown in the Unraid Docker version is "broken" as it shows several Gbps which my internet connection is not capable of - also there is no progress and no drive activity on my LanCache nvme.

Unraid_docker

The bandwitdh indicator in the windows build is more accurate as there is no traffic.

windows

LanCache Logs:
These are the logs from an attempt to prefill City Skylines

upstream-error.log
error.log
access.log
LanCache_access.log

Games tested with Unraid Prefill docker as well as the windows build:

  • Cities Skylines - fails/no progress
  • Fortnite - fails/no progress
  • Doom 64 - fails/no progress
  • Enter the Gungeon - fails/no progress
  • Rise of the Tomb Raider: 20 Year Celebration - fails/no progress

With the Epic Launcher I can download these games, even on the same machine where the EpicPrefill.exe does not produce any download traffic.

Use EpicPrefill on a game that is already in the LanCache

  1. I used the Epic Launcher to download Cities Skylines through the LanCache
  2. then I launched epicprefill.exe selected Cities Skylines and choose Yes to prefill

Result: EpicPrefill.exe "downloads" everything that the EpicLauncher put in the lancache.

cachedGame

@cholzer79
Copy link
Author

This is a firewall/threat detection "problem".

When LanCache prefill is used it connects through "fastly-download.epicgames.com" (as seen in the LanCache prefill logs), this triggers my Firewall and Thread Protection in the UDR Pro SE.

ET USER_AGENTS Suspicious User-Agent (USERAGENT)

When the normal EPIC Client is used to install the exact same game through the LanCache then this does not trigger the Firewall and Threat Detection which I guess is down to the client connecting to a different CDN than "fastly-download.epicgames.com"?

I have now excluded the IP of the LanCache in the Firewall & Threat Detection of my UDM Pro SE and now LanCache prefill works

@tpill90
Copy link
Owner

tpill90 commented Mar 2, 2023

To add to this, it looks like the user agent defined here might be triggering the filter https://github.com/tpill90/epic-lancache-prefill/blob/master/EpicPrefill/Handlers/DownloadHandler.cs#L21

@tpill90
Copy link
Owner

tpill90 commented Mar 15, 2023

Released in v1.1.0

@tpill90 tpill90 closed this as completed Mar 15, 2023
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

2 participants