Hi Epic,
I have the following setup :
* Horde Server - Compiled using /Engine/Build/BatchFiles/RunUAT.bat BuildGraph -Script=“Engine/Source/Programs/Horde/BuildHorde.xml” -Target=“Build Bundled Docker Image”
* Horde Agents connected using Horde Auth Type
* Fresh MongoDB
----------------------------
Agents run jobs using “-UBA” for Incremental builds to leverage agents as compute.
This used to work on 5.5 however since upgrade I am noticing the following :
`Using Unreal Build Accelerator executor to run 1200 action(s)
Horde URL: https://mywebsite.ddns.net:13343/, Pool: Win-UE5, Cluster: (none), Condition: (none), Connection: (none), HordeEncryption: (none)
Storage capacity 40Gb
---- Starting trace: 250531_182002 ----
UbaServer - Listening on 0.0.0.0:1345
------ Building 1200 action(s) started ------
Horde server: 5.6.0-0, agent: 5.6.0-0
Created tool bundle with locator 94e5ed35a49943a184f8c0bb3ad78d6f_1#pkt=0,1537&exp=1
Horde cluster resolved as ‘default’
POST https://mywebsite.ddns.net:13343/api/v2/compute/default failed (null). Delaying for 1000ms (attempt #1).
POST https://mywebsite.ddns.net:13343/api/v2/compute/default failed (null). Delaying for 1000ms (attempt #1).
POST https://mywebsite.ddns.net:13343/api/v2/compute/default failed (null). Delaying for 1000ms (attempt #1).
^ Endlessly stall with this … jobs never finish.`Is this a known issue?, if not can I get some recommendations to troubleshoot this?
FYI : [How to add “AddComputeTasks” permission for a specified [Content removed] -> Verified this and it works correctly now when one of my other users try to build it connects to Horde obtains token and leverages available agents.
However, I am seeing issue on Horde now when its running jobs. Is there any additional setup I need to do to allow Horde Server scheduled jobs auto authenticate and get permissions to AddComputeTasks? :
UbaServer - Listening on 0.0.0.0:1345 ------ Building 5480 action(s) started ------ Horde server: 5.6.0-0, agent: 5.6.0-0 Created tool bundle with locator 492c1ca2628d4f2983f90252e54b4a52_1#pkt=0,1536&exp=1 Horde cluster resolved as 'default' Unable to get worker: EpicGames.Horde.Compute.ComputeClientException: User does not have AddComputeTasks permission for cluster default (HTTP status Forbidden) at EpicGames.Horde.Compute.Clients.ServerComputeClient.ConnectAsync(Nullable
1 clusterId, Requirements requirements, String requestId, ConnectionMetadataRequest connection, ILogger workerLogger, CancellationToken cancellationToken)+MoveNext() in D:\HAS\AG-Inc\Sync\Engine\Source\Programs\Shared\EpicGames.Horde\Compute\Clients\ServerComputeClient.cs:line 321
at EpicGames.Horde.Compute.Clients.ServerComputeClient.ConnectAsync(Nullable1 clusterId, Requirements requirements, String requestId, ConnectionMetadataRequest connection, ILogger workerLogger, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult() at EpicGames.Horde.Compute.Clients.ServerComputeClient.TryAssignWorkerAsync(Nullable
1 clusterId, Requirements requirements, String requestId, ConnectionMetadataRequest connection, ILogger logger, CancellationToken cancellationToken) in D:\HAS\AG-Inc\Sync\Engine\Source\Programs\Shared\EpicGames.Horde\Compute\Clients\ServerComputeClient.cs:line 249
at UnrealBuildTool.UBAHordeSession.AddWorkerAsync(Requirements requirements, UnrealBuildAcceleratorHordeConfig hordeConfig, CancellationToken cancellationToken, Int32 activeCores) in D:\HAS\AG-Inc\Sync\Engine\Source\Programs\UnrealBuildTool\Executors\UnrealBuildAccelerator\UBAAgentCoordinatorHorde.cs:line 283
at UnrealBuildTool.UBAHordeSession.AddWorkerAsync(Requirements requirements, UnrealBuildAcceleratorHordeConfig hordeConfig, CancellationToken cancellationToken, Int32 activeCores) in D:\HAS\AG-Inc\Sync\Engine\Source\Programs\UnrealBuildTool\Executors\UnrealBuildAccelerator\UBAAgentCoordinatorHorde.cs:line 376`
Thank you.
Kind Regards,
Abhishek Sagi