Swarm Agent not working

When ever I click build UE4 builds everything (like navigation) except for Lighting and when I open swarm agent I get this

7:34:09 PM: Starting up SwarmAgent ...
7:34:09 PM:  ... registering SwarmAgent with remoting service
7:34:09 PM:  ... registering SwarmAgent network channels
7:34:09 PM:  ... initializing SwarmAgent
7:34:09 PM:  ......... certificate check has failed
7:34:09 PM:  ...... initializing cache
7:34:09 PM:  ......... using cache folder 'C:\Program Files\Epic Games\UE_4.16\Engine\Binaries\DotNET/SwarmCache'
7:34:09 PM:  ......... recreating SwarmAgent cache staging area
7:34:09 PM:  ...... initializing connection to SwarmCoordinator
7:34:09 PM:  ......... using SwarmCoordinator on RENDER-01
7:34:11 PM:  ......... SwarmCoordinator failed to be initialized
7:34:11 PM:  ...... initializing local performance monitoring subsystem
7:34:15 PM:  ... initialization successful, SwarmAgent now running
8:52:18 PM: [Interface:TryOpenConnection] Local connection established
8:52:18 PM: [MaintainConnections] Detected dropped local connection, cleaning up (41666A39)
8:52:18 PM: [CloseConnection] Closing connection 41666A39 using handle 41666A39
8:52:18 PM: [CloseConnection] Connection confirmed for disconnection 41666A39
8:52:18 PM: [CloseConnection] Connection disconnected 41666A39
8:52:18 PM: [GetMessage] Safely returning to 41666A39 with no message
8:52:19 PM: [MaintainConnections] Local connection has closed (41666A39)
8:52:19 PM: [MaintainConnections] Removed connection 41666A39
8:52:19 PM: [MaintainConnections] All connections have closed
8:52:20 PM: [Interface:OpenJob] Error: Invalid class 

Please help me this started happening when I updated to 4.16.2

Could this be of any help maybe?

Thanks AinSophAur for the help I got rid of the … SwarmCoordinator failed to be initialized and … certificate check has failed but I still have the [Interface:OpenJob] Error: Invalid class problem