Upcoming Disruption of Service Impacting Unreal Engine Users on GitHub

Just found a solution, in Commit.gitdeps.xml

replace

BaseUrl="http://cdn.unrealengine.com/dependencies"

by

BaseUrl="https://cdn.unrealengine.com/dependencies"

Is this a regression or new issue?

3 Likes

Hi All,

Can anyone please provide an updated/fixed “Commit.gitdeps.xml” for https://github.com/EpicGames/UnrealTournament/ ?
Thank you in advance for your help.

Looks like this may still be a PITA

Tried building for MacOS and the dependency checker is trying to pull

http://cdn.unrealengine.com/dependencies/UnrealEngine-31090618/fbecf22e84e22af7ba4423fc1864c5e54b878f7d

But it’s timing out.

manually pulling with a https gets me a randomBound32.decTest file to help find it

If anyone has an idea for how we can find/replace the http with https in the dependency installer let me know what files I should be looking at and I am happy to go through them. I have looked through everything I can think of in engine/batchfiles and binaries and can’t seem to find where I should make the changes.

When i try to run:
"$ sudo ue4-docker build --cuda=11.8 --target minimal --exclude debug --ue-version=4.27", it fails and exits with error:

"[ue4-docker build] Building image "adamrehn/ue4-build-prerequisites:cuda11.8-ubuntu22.04"...
[+] Building 1.1s (2/2) FINISHED                                                                 docker:default
 => [internal] load build definition from Dockerfile                                                       0.0s
 => => transferring dockerfile: 4.10kB                                                                     0.0s
 => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2)                             0.0s
 => WARN: InvalidDefaultArgInFrom: Default value for ARG ${BASEIMAGE} results in empty or invalid base im  0.0s
 => ERROR [internal] load metadata for docker.io/nvidia/cuda:11.8-devel-ubuntu22.04                        1.0s
------
 > [internal] load metadata for docker.io/nvidia/cuda:11.8-devel-ubuntu22.04:
------
Dockerfile:2
--------------------
   1 |     ARG BASEIMAGE
   2 | >>> FROM ${BASEIMAGE} as prerequisites
   3 |     
   4 |     # Add a sentinel label so we can easily identify all derived images, including intermediate images
--------------------
ERROR: failed to solve: nvidia/cuda:11.8-devel-ubuntu22.04: failed to resolve source metadata for docker.io/nvidia/cuda:11.8-devel-ubuntu22.04: docker.io/nvidia/cuda:11.8-devel-ubuntu22.04: not found
[ue4-docker build] Error: failed to build image "adamrehn/ue4-build-prerequisites:cuda11.8-ubuntu22.04"."
````Preformatted text`

I cloned the unreal engine by myself before. Can someone please help me figure it out?

Hey team! I’m getting these over and over again while trying to run Setup.bat on ue5-main branch and on commit 7102abc:

PS C:\Users\caro_\_Repositories\UnrealEngine> .\Setup.bat
Checking dependencies...
Updating dependencies:   0% (0/146160)...
Failed to download 'https://cdn.unrealengine.com/dependencies/UnrealEngine-40853234/00c644e165fd243fb9f59448fb2a764c7d338585': SocketException: An existing connection was forcibly closed by the remote host.
Wrapped by IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken, Int32 estimatedSize)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at System.Net.Security.SslStream.ReceiveHandshakeFrameAsync[TIOAdapter](CancellationToken cancellationToken)
   at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)Wrapped by HttpRequestException: The SSL connection could not be established, see inner exception.
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at GitDependencies.Program.DownloadAndExtractFiles(String Url, String CacheFileName, Int64 CompressedSize, String ExpectedHash, IncomingFile[] Files, NotifyReadDelegate NotifyRead)Wrapped by AggregateException: One or more errors occurred. (The SSL connection could not be established, see inner exception.)
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at GitDependencies.Program.DownloadWorker(ConcurrentQueue`1 DownloadQueue, AsyncDownloadState State, Int32 MaxRetries, CancellationToken CancellationToken)
Press any key to continue . . .

Just once, Setup.bat run without errors on with a branch created from commit (7102abc). I had to set it up on another PC and it never worked. It’s not working on the original PC anymore.

The hash at the end of the URL varies almost on every attempt to run Setup.bat. I tried navigating to some of the URLs on the browser and they either worked or returned an access denied error.

It’s been like this since yesterday, August 16th.

I found out that the error is thrown by .\Engine\Binaries\DotNET\GitDependencies\win-x64\GitDependencies.exe which accepts has a parameter called --max-retries=<N>. I passed the --max-retries value to .\Setup.bat, which passes it to GitDependencies.exe and the process did finish this time.