Why is SwarmAgent crashing after failing to connect to Swarm?

This was the issue for me in 4.11 github needed to recompile Lightmass.