Keep getting errors like this. I do not understand why this is happening, never happened before.
The folder is setup in a short path in my C drive
I am on Wi-Fi but the connection is fast as hell
I can download the dependencies manually with the link in the console in my browser easily. I dont know why these threaded download tasks are failing. any advice would be helpful.
Hello.
To solve the problem, go to the \Engine\Build folder and in the Commit.getdups file change baseUrl="http to baseUrl="https
Then just re-run the setup.bat file
Привет.
Для решения проблемы необходимо зайти в папку \Engine\Build и в файле Commit.getdups поменять BaseUrl="http на BaseUrl="https
Затем просто повторно запустить файл setup.bat
This is the case on Win 11, the last file is about 1GB, the network speed is fast enough, always error after the download is completed:
Checking dependencies…
Updating dependencies: 10% (100/101), 131.2/1205.0 MiB | 0.00 MiB/s…
Failed to download ‘https://cdn.unrealengine.com/dependencies/UnrealEngine-18642449/b645fcb8d128dfacf83e05c83d05cc377a1db7f8’: TaskCanceledException: A task was canceled.
at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at GitDependencies.Program.DownloadWorker(ConcurrentQueue1 DownloadQueue, AsyncDownloadState State, Int32 MaxRetries, CancellationToken CancellationToken) at GitDependencies.Program.<>c__DisplayClass38_0.<DownloadDependencies>b__3(Object x) at System.Threading.Thread.StartCallback() --- End of stack trace from previous location --- Wrapped by AggregateException: One or more errors occurred. (A task was canceled.) at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at GitDependencies.Program.DownloadWorker(ConcurrentQueue1 DownloadQueue, AsyncDownloadState State, Int32 MaxRetries, CancellationToken CancellationToken)
Although not a solution, I’d just like to offer the temporary alternative: We can still download and utilize 5.1 from the Epic Games Launcher for the time being (if your intent is to prototype or get started with some 5.1 specific feature). *All I got for now…
I clicked on the link to the file in your post (https://cdn.unrealengine.com/dependencies/UnrealEngine-18642449/b645fcb8d128dfacf83e05c83d05cc377a1db7f8)
Which started the download in firefox, then I canceled about 80%. I then re-ran the setup.bat as admin, and it is working.
I don’t know if it was the parital download (cookie/auth related?) or if running as admin did the trick.
Edit: I hit 100% without issues. It is now installing the pre-reqs.
I decided to reinstall the engine from scratch and fell into this trap. @ShrinkWrapVerts I did as you said, only set the value higher.
BUT it didn’t work for me until I looked at the BAT file (setup.bat)
I moved the built GitDependencies.exe/dll /pdb/ to Engine\Binaries\DotNET\GitDependencies\win-x64
And for me it worked.
That’s right, I missed mentioning this. By default, GitDependencies.exe searches the root of Unreal relative to the location of GitDependencies.exe. If it is in a different directory than the default, then you need to call GitDependencies.exe --root=PathToRootOfUnreal, or define it in the UE_GITDEPS_ARGS environment variable so it can be automatically picked up by Setup.bat. Execute GitDependenices.exe --help for details.
I stumbled on this as well when trying to build 5.1.1 from source. Epic had posted insturctions about the problem in the initial release post in Github, but despite the big IMPORTANT text, I managed to miss it. Here it is in case someone is as dyslexic as I was.
I totally understand the frustration you’re facing with the setup.bat dependency download issue for Windows 5.1. It’s puzzling when things suddenly don’t work as they used to. It’s great that you’ve checked your Wi-Fi speed and can manually download the dependencies via your browser.
Sometimes, these issues can stem from various factors like network configurations or temporary glitches. Here are a couple of suggestions you could try:
Firewall/Security Software: Ensure that your firewall or security software isn’t blocking the download process. Sometimes, these tools can unexpectedly interfere with certain downloads.
Retry or Alternate Network: If possible, you could retry the setup.bat at a later time. Sometimes, intermittent network issues can lead to download failures.
VPN or Proxy: If you have a VPN or proxy enabled, try disabling it temporarily and then run the setup.bat again.
Administrator Privileges: Ensure you’re running the setup.bat with administrator privileges. Right-click on it and choose ‘Run as administrator.’
Check Short Path: While the setup folder’s short path shouldn’t cause issues, you could try placing it in a different directory to see if it makes any difference.
Log Files: Check if there are any log files generated during the failed download attempts. They might provide more insights into the specific error.
Reach Out for Support: If the problem persists, consider reaching out to the support channels of the software you’re working with. They might have encountered similar issues and could provide more tailored assistance.
Remember, technology can sometimes be a bit finicky, but with a bit of troubleshooting, you’ll likely get to the bottom of the problem. Stay patient and keep exploring different avenues to resolve the download issue.
Wishing you the best of luck, and I hope you get it sorted soon!