I’ve setup my project, currently to use the Online Session subsystem NULL; just testing local online sessions until the project is further in development. This was working on UE 5.1 and since I’ve moved up to 5.2 now when attempting to join the session it times out.
I’ve tried launching game instances outside of the editor (so not in PIE) and packaging a build to put on a second PC and whenever I attempt to join the joining session stalls out for a bit then resets. In the logs I’m seeing that the connection timed out but I’m not seeing any errors as to why. I’ve checked my firewall settings for the .exe and they are set to allow traffic for my network.
Has anyone else run into this? Or can anyone see an error I might be missing?
Here are the relevant lines from the log (the logtemp are print statements I’ve added to understand when things were happening):
1057 [2023.06.20-22.21.26:940][ 19]LogTemp: Warning: GR_GameSession_0.HandleFindSessionsComplete broadcasted SessionOwnerStrings
1058 [2023.06.20-22.21.28:335][518]LogTemp: Warning: GR_GameSession_0.HandleJoinSessionComplete joined attempt SUCCESS, telling controller to travel
1059 [2023.06.20-22.21.28:335][518]LogNet: Browse: 192.168.7.234:0/Game/Developers/SMart/World_Levels/L_InitialMap
1061 [2023.06.20-22.21.28:335][518]LogNet: Created socket for bind address: 0.0.0.0:0
1062 [2023.06.20-22.21.28:335][518]LogNet: IpConnection_0 setting maximum channels to: 32767
1065 [2023.06.20-22.21.28:347][518]LogNet: Game client on port 0, rate 100000
1066 [2023.06.20-22.21.28:347][518]LogNetVersion: RTS_Prototype_1 1.0.0.0, NetCL: 25360045, EngineNetworkVersion: 32, GameNetworkVersion: 0 (Checksum: 590619967)
1067 [2023.06.20-22.21.38:336][ 99]LogNet: Initial Connect Diagnostics: Sent ‘9’ packets in last ‘10.001560’ seconds, no packets received yet.
1068 [2023.06.20-22.21.48:338][687]LogNet: Initial Connect Diagnostics: Sent ‘10’ packets in last ‘10.002297’ seconds, no packets received yet.
1069 [2023.06.20-22.21.48:350][691]LogNet: Warning: UNetConnection::Tick: Connection TIMED OUT. Closing connection… Elapsed: 20.00, Real: 20.00, Good: 20.00, DriverTime: 20.02, Threshold: 20.00, [UNetConnection] RemoteAddr: 192.168.7.234:0, Name: IpConnection_0, Driver: PendingNetDriver IpNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID
1070 [2023.06.20-22.21.48:350][691]LogNet: Error: UEngine::BroadcastNetworkFailure: FailureType = ConnectionTimeout, ErrorString = UNetConnection::Tick: Connection TIMED OUT. Closing connection… Elapsed: 20.00, Real: 20.00, Good: 20.00, DriverTime: 20.02, Threshold: 20.00, [UNetConnection] RemoteAddr: 192.168.7.234:0, Name: IpConnection_0, Driver: PendingNetDriver IpNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID, Driver = PendingNetDriver IpNetDriver_0
1071 [2023.06.20-22.21.48:350][691]LogNet: Warning: Network Failure: PendingNetDriver[ConnectionTimeout]: UNetConnection::Tick: Connection TIMED OUT. Closing connection… Elapsed: 20.00, Real: 20.00, Good: 20.00, DriverTime: 20.02, Threshold: 20.00, [UNetConnection] RemoteAddr: 192.168.7.234:0, Name: IpConnection_0, Driver: PendingNetDriver IpNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID
1072 [2023.06.20-22.21.48:350][691]LogNet: NetworkFailure: ConnectionTimeout, Error: ‘UNetConnection::Tick: Connection TIMED OUT. Closing connection… Elapsed: 20.00, Real: 20.00, Good: 20.00, DriverTime: 20.02, Threshold: 20.00, [UNetConnection] RemoteAddr: 192.168.7.234:0, Name: IpConnection_0, Driver: PendingNetDriver IpNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID’
1073 [2023.06.20-22.21.48:350][691]LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: 192.168.7.234:0, Name: IpConnection_0, Driver: PendingNetDriver IpNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID, Channels: 2, Time: 2023.06.20-22.21.48
1074 [2023.06.20-22.21.48:350][691]LogNet: UNetConnection::SendCloseReason:
1075 [2023.06.20-22.21.48:350][691]LogNet: - Result=ConnectionTimeout, ErrorContext=“ConnectionTimeout”
1076 [2023.06.20-22.21.48:350][691]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 192.168.7.234:0, Name: IpConnection_0, Driver: PendingNetDriver IpNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID
1077 [2023.06.20-22.21.48:352][692]LogNet: Browse: /Game/Developers/SMart/World_Levels/L_InitialMap?closed
1078 [2023.06.20-22.21.48:352][692]LogNet: DestroyNamedNetDriver IpNetDriver_0 [PendingNetDriver]
1080 [2023.06.20-22.21.48:353][692]LogNet: Connection failed; returning to Entry
1087 [2023.06.20-22.21.48:382][692]LogNet: UChannel::CleanUp: ChIndex == 0. Closing connection. [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 192.168.7.234:0, Name: IpConnection_0, Driver: PendingNetDriver IpNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID
1088 [2023.06.20-22.21.48:388][692]LogNet: UNetConnection::PendingConnectionLost. [UNetConnection] RemoteAddr: 192.168.7.234:0, Name: None, Driver: PendingNetDriver None, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID bPendingDestroy=0