Yesterday I needed to restart the client because there was some update for unreal engine.
Since then, all builds on all projects are freezing as soon as I push the “Build” button to rebuild the lightning.
I see the message: “0:00:00 Gathering scene geometry… (100%)” and then the editor is completely unresponsive.
According to the Task manager it’s not doing anything apart waiting.
I waited for an hour to see if it will recover but it doesn’t.
To reproduce this, I created a new 4.11.2 project without starter content and no plugins.
I also reinstalled the whole engine.
But the error persists. I did the same for UE 4.12.0. Preview 3 with the same result.
Is it possible to get more debug info what the editor is currently doing?
And this is what I found:
The error seems to be related to some kind of firewall issue.
[2016.05.14-15.47.34:718][394]LogSwarmInterface:Error: System.Net.Sockets.SocketException (0x80004005): Der Zugriff auf einen Socket war aufgrund der Zugriffsrechte des Sockets unzulässig 127.0.0.1:8008
Server stack trace:
bei System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
bei System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
bei System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(EndPoint ipEndPoint)
bei System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
bei System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
bei System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.AsyncProcessRequest(IClientChannelSinkStack sinkStack, IMessage msg, ITransportHeaders headers, Stream stream)
bei System.Runtime.Remoting.Channels.BinaryClientFormatterSink.AsyncProcessMessage(IMessage [2016.05.14-15.47.39:729][394]LogSwarmInterface:Error: [TryOpenConnection] Waiting for the agent to start up ...
[2016.05.14-15.47.39:731][394]LogSwarmInterface:Error: System.Net.Sockets.SocketException (0x80004005): Der Zugriff auf einen Socket war aufgrund der Zugriffsrechte des Sockets unzulässig 127.0.0.1:8008
I can see the issue in the log now:
The Unreal Editor has no permission to connect to 127.0.0.1:8008
See
[2016.05.14-17.48.20:599][631]LogSwarmInterface:Error: [TryOpenConnection] Waiting for the agent to start up ...
[2016.05.14-17.48.20:600][631]LogSwarmInterface:Error: System.Net.Sockets.SocketException (0x80004005): Der Zugriff auf einen Socket war aufgrund der Zugriffsrechte des Sockets unzulässig 127.0.0.1:8008
Server stack trace:
bei System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
bei System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
bei System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(EndPoint ipEndPoint)
bei System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
bei System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
bei System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.AsyncProcessRequest(IClientChannelSinkStack sinkStack, IMessage msg,
ITransportHeaders headers, Stream stream)
I still don’t find the mistake.
With kaspersky turned off and windows firewall off I still get this message in the swam log file:
20:28:43: Starting up SwarmAgent ...
20:28:43: ... registering SwarmAgent with remoting service
20:28:43: ... registering SwarmAgent network channels
20:28:43: ... initializing SwarmAgent
20:28:43: ...... checking certificate
20:28:43: ......... certificate check has failed
20:28:43: ...... initializing cache
20:28:43: ......... using cache folder 'C:/Users/Lars/AppData/Local/UnrealEngine/4.11/Saved/Swarm/SwarmCache'
20:28:43: ......... recreating SwarmAgent cache staging area
20:28:43: ...... initializing connection to SwarmCoordinator
20:28:43: ......... using SwarmCoordinator on CRUNCHER3
20:28:43: [PingRemoteHost] Successfully pinged CRUNCHER3 with CRUNCHER3
20:29:02: [Ping] Communication with the coordinator failed, job distribution will be disabled until the connection is established
20:29:02: Exception details: System.Net.Sockets.SocketException (0x80004005): Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte 192.168.0.10:8009
Server stack trace:
bei System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port)
bei System.Runtime.Remoting.Channels.RemoteConnection.CreateNewSocket(AddressFamily family)
bei System.Runtime.Remoting.Channels.SocketCache.GetSocket(String machinePortAndSid, Boolean openNew)
bei System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
bei System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
bei System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
bei System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
bei System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
bei SwarmCoordinatorInterface.ISwarmCoordinator.Ping(AgentInfo UpdatedInfo)
bei Agent.Agent.PingCoordinator(Boolean ForcePing)
20:29:02: ......... SwarmCoordinator failed to be initialized
20:29:02: ...... initializing local performance monitoring subsystem