Help - Unable to Join Server "Network Error: PendingConnectionFailure"

My friend is hosting the server and I can see it in the server list but when I try to join, it errors and I get: “Network Error: PendingConnectionFailure”.

I’m using Unreal Engine 5.4.4 with the Advanced Session and Advanced Steam Session Plugins

Looking into the logs, at the point of connecting I get this:

[2025.03.08-21.29.35:997][759]LogHandshake: Stateless Handshake: NetDriverDefinition 'GameNetDriver' CachedClientID: 1

[2025.03.08-21.29.35:997][759]LogSteamSocketsAPI: Warning: SteamSockets API: Warning [#3387845777 P2P steamid:FRIENDSSTEAMID vport 7777] Relay candidates enabled by P2P_Transport_ICE_Enable, but P2P_TURN_ServerList is empty

[2025.03.08-21.29.35:999][759]LogSockets: SteamSockets: Now tracking socket 3387845777 for addr FRIENDSSTEAMID:7777, has parent? 0

[2025.03.08-21.29.35:999][759]LogNet: Game client on port 7777, rate 100000

[2025.03.08-21.29.35:999][759]LogNetVersion: Shooter [1.0.0.0](http://1.0.0.0), NetCL: 33043543, EngineNetworkVersion: 34, GameNetworkVersion: 0 (Checksum: 1006547901)

[2025.03.08-21.29.45:999][380]LogSteamSocketsAPI: Verbose: SteamSockets API: Log [#3387845777 P2P steamid:FRIENDSSTEAMID vport 7777] problem detected locally (5003): Timed out attempting to connect

[2025.03.08-21.29.46:030][381]LogNet: Error: UEngine::BroadcastNetworkFailure: FailureType = PendingConnectionFailure, ErrorString = Your connection to the host has been lost., Driver = Name:PendingNetDriver Def:GameNetDriver SteamSocketsNetDriver_2147482447

[2025.03.08-21.29.46:030][381]LogNet: Warning: Network Failure: PendingNetDriver[PendingConnectionFailure]: Your connection to the host has been lost.

[2025.03.08-21.29.46:030][381]LogNet: NetworkFailure: PendingConnectionFailure, Error: 'Your connection to the host has been lost.'

[2025.03.08-21.29.46:030][381]LogBlueprintUserMessages: [NewGameInstance_C_2147482577] Network Error: PendingConnectionFailure

[2025.03.08-21.29.46:030][381]LogBlueprintUserMessages: [NewGameInstance_C_2147482577] Is Server: false

[2025.03.08-21.29.46:030][381]LogNet: DestroyNamedNetDriver SteamSocketsNetDriver_2147482447 [PendingNetDriver]

[2025.03.08-21.29.46:046][382]LogGlobalStatus: UEngine::Browse Started Browse: "/Game/Maps/Menus/MainMenu/MainMenuLevel?closed"

[2025.03.08-21.29.46:046][382]LogNet: Browse: /Game/Maps/Menus/MainMenu/MainMenuLevel?closed

[2025.03.08-21.29.46:046][382]LogNet: Connection failed; returning to Entry

[2025.03.08-21.29.46:046][382]LogLoad: LoadMap: /Game/Maps/Menus/MainMenu/MainMenuLevel?closed

These are the plugins I have enabled:

Advanced Sessions
Advanced Steam Sessions
Steam Sockets
Online Subsystem
Online Subsystem Steam
Socket Subsystem EOS

and I have this in my DefaultEngine.ini:

[/Script/Engine.GameEngine]

!NetDriverDefinitions=ClearArray

+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/SteamSockets.SteamSocketsNetDriver",DriverClassNameFallback="/Script/SteamSockets.SteamNetSocketsNetDriver")

[SystemSettings]

net.CurrentHandshakeVersion=2

net.MinHandshakeVersion=2

net.VerifyNetSessionID=0

net.VerifyNetClientID=0

[OnlineSubsystem]

DefaultPlatformService=Steam

[OnlineSubsystemSteam]

bEnabled=true

SteamDevAppId=480

bInitServerOnClient=true

bUsesPresence=true

bUseLobbiesIfAvaliable=true

bUseSteamNetworking=true

bAllowP2PPacketRelay=true

bIsUsingP2PSockets=true

[/Script/OnlineSubsystemSteam.SteamNetDriver]

NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"

bEnableSteamDatagramTransport=true

P2P_Transport_ICE_Enable=true

P2P_TURN_ServerList=turn:turn.globalrelay.net:3478,turn:turn2.globalrelay.net:3478

I couldn’t find anything online and the tutorials haven’t really fixed my issue. There’s no documentation that I can find (at least anything that explains this stuff)

If anyone has any info or knows how to fix this, I would really appreciate it.

If you need more info/context, please let me know. Thanks :slight_smile:

Were you able to solve it? One of my many experiments led me to this problem as well. I’m not using Advanced Sessions, but as you I’m using Steam Sockets so maybe it’s related to that.