# Swarm Agent error - "Configuration System failed to initialize" - 4.27.2

**URL:** <https://forums.unrealengine.com/t/swarm-agent-error-configuration-system-failed-to-initialize-4-27-2/498126>\
**Category:** Pipeline & Plugins\
**Tags:** swarm, swarm-agent, unreal-engine, UE4, UE4-27, question\
**Created:** [February 15, 2022, 2:17am UTC](https://forums.unrealengine.com/t/swarm-agent-error-configuration-system-failed-to-initialize-4-27-2/498126 "2022-02-15T02:17:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raging\_Paper-Cut](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raging\_Paper-Cut](https://forums.unrealengine.com/u/Raging_Paper-Cut)\
**Post date:** [February 15, 2022, 2:17am UTC](https://forums.unrealengine.com/t/swarm-agent-error-configuration-system-failed-to-initialize-4-27-2/498126/1 "2022-02-15T02:17:04Z")

</div>

Hello,

I am running into an issue with the UE4 editor - specifically the Swarm Agent. This happens when trying to build my level or do any type of lighting build. The UE4 editor gets to “starting Swarm agent” then freezes. When I check the Swarm agent program that is running, the below error is posted to the log (repeatedly).

> Blockquote  
> 5:14:43 PM: Starting up SwarmAgent …  
> 5:14:43 PM: … registering SwarmAgent with remoting service  
> 5:14:43 PM: … registering SwarmAgent network channels  
> 5:14:43 PM: [ERROR] Channel registration failed. Reason: Configuration system failed to initialize  
> , Callstack: at System.Configuration.ConfigurationManager.PrepareConfigSystem()  
> at System.Configuration.ConfigurationManager.RefreshSection(String sectionName)  
> at System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)  
> at System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)  
> at System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)  
> at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)  
> at System.Configuration.SettingsBase.get\_Item(String propertyName)  
> at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)  
> at System.Configuration.ApplicationSettingsBase.get\_Item(String propertyName)  
> at Agent.Properties.Settings.get\_AgentRemotingPort() in D:\Build++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealSwarm\Agent\Properties\Settings.Designer.cs:line 42  
> at Agent.AgentApplication.Main(String args) in D:\Build++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealSwarm\Agent\AgentApplication.cs:line 125.  
> Blockquote

I have disabled my antivirus - I have also used TCP Viewer to ensure nothing is utilizing ports 8008 or 8009 (as per other users’ posts from here that had similar issues).

Also to note - this error happens with multiple levels - templates, sample levels, and my custom built level.

Please - does anyone have a solution for this? I cannot move any further forward with my design until i can properly build and test the lighting.
