Can not connect to swarm: Exception details: System.Net.Sockets.SocketException (0x80004005)
Currently I am not able to build the lighning on my machine anymore. As soon as I start the build in the UE4 Editor it freezes with the window: "0:00:00 Starting up Swarm Connection (100%)"
A look into the swarm logfile revealed this:
I spent the weekend reinstalling Unreal Editor, Configuring, Resetting and completely disabling and switching the Settings of Kaspersky and the Windows Firewall but nothing helped. The message persist. I tried different hosts like localhost or 127.0.0.1 and netstat -aon tells me that the coordinator is listening on port 8009 on my windows 10 machine.
But the error persists and I have to admint, that I am stuck.
asked May 15 '16 at 07:11 PM in Installation & Setup
I didn't find a resoltion to my issue. I spent the last to nights bruteforce reinstalling my Windows10 and all its applications after nothing helped. Now I can create lightning again.
Things I did and which didn't solve the situation:
I am sorry that I can't tell any better news. But finaly I can go on. THX anyway!
I manged to get this solved by resetting my Kaspersky Settings to factory default und rebooting the PC. Strange is, I did the same thing yesterday 192873 times and nothing happened. So I am not sure wether this is a solution or just a lucky coincidence.
Be advised that this may break some vital security settings. Don't do this without asking your system administrator or the knowledge what you are doing! Don't blame me! :)
I worked myself through the Swarm agent Trouble Shooting Guide and learned a lot. But I am affraight that the problem persists. I also completely removed unreal and all it's traces from my PC.
But I could narrow the problem down to one file: UnrealLightMass.exe If I start this file from my explorer via double click I see the exact same error messages in the terminal window:
The Important part is: System.Net.Sockets.SocketException (0x80004005): Der Zugriff auf einen Socket war aufgrund der Zugriffsrechte des Sockets unzulässig 127.0.0.1:8008
Which translates to: An attempt was made to access a socket in a way forbidden by its access permissions. 127.0.0.1:8008
One could think that my Port 8008 and 8009 could be blocked. But I disabled both Kaspersky and the Windows firewall - so they don't interfere here.
I also had a look with netstat -aopn and saw, that the swarm Agent was listeing on 8008 (and not another process) My guess is not this has something to do with the underlying dotnet framework.
As far as my research has gone I am not alone with this problem:
Just to make sure: - What does your C:\Windows\System32\drivers\etc\hosts file look like? - What kind of dotnet runtime do I need? - How can I check which Version of the C++ Redistributable runtime is installed? Which one do I need?
Any hint would be apreciated. :-))
Hi guys, I'm new to the Editor and have the same problem. I don't have much experience about portforwarding and things like these but I'm using a tool named "iNetfusion" wich combines two internet-connections to double my speed. Once I've started the vanilla version of WoW it crashed because of some connection problems. I had no idea why because it ran well all the time so I just stopped the service of iNetfusion and it worked. Now I got that error in ue4 and just googled about it and found your thread. After reading a bit and saw that problem with the localhost and the port I just stopped once again the iNetfusion service und swarm could connect to the coordinator without any problem.
Maybe u'r using the same tool or it may can give you a hint to solve your problem. Maybe u just download that iNetfusion thing an restart that service inside that program. (it is not directly a separate service installes by iNetfusion. That program just do something with your ports and so on.) U may just give it a try..
hope I could help anyway
answered Dec 06 '16 at 07:03 PM
Hi, i ran into the same problem. Swarm Socket error. Seem port 8008/9 was busy nor availbable.
Solution for me: 1. reset firewall settings 2. use tcpview find swarm_hw process. Thats an service. Kill them. 3. restart pc. reboot is often a good idea ;-) 4. now starting swarm agent should be ok
Firewall should ask now again for your apps (UE4, Swarm etc.).
answered Dec 20 '16 at 10:19 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here