Hello,
I just submitted a bug report on this one. It seems that the following commit,
Updating GitDependencies · EpicGames/UnrealEngine@ca70302 (github.com)
, modified the download facility to .NET’s HttpClient. Now HttpClient has a default timeout of 100s, so if a download cannot be completed within this time, the task will be canceled. It is not a nice design from the .NET side (also see Bug in HttpClient.GetAsync should throw WebException, not TaskCanceledException (microsoft.com))
Fortunately, it can be trivially fixed by increasing the timeout and maybe a program option can be also introduced to modify it at will.
For a Quick fix one can
-
Pull out
Engine/Source/Programs/GitDependencies
to a separate directory -
Open with VS Studio as a C# project
-
In
Engine/Source/Programs/GitDependencies/Program.cs
andunder
HttpClient Client = new HttpClient(Handler);
add:
Client .Timeout = TimeSpan.FromSeconds(1000);
-
Compile and run the produced
GitDependencies.exe
before runningSetup.bat
I will submit a pull request in the next few days with suggested changes.