Unable to join session for Steam

We cannot get the Steam subsystem to work properly for our game. We can find sessions but on join nothing happens. The logs during the process are as follows:

[2021.10.27-14.02.19:631][403]LogBlueprintUserMessages: [W_Multiplayer_Submenu] Searching for sessions...
[2021.10.27-14.02.19:937][448]LogOnlineSession: STEAM: Found 1 lobbies, finalizing the search
[2021.10.27-14.02.19:937][448]LogOnlineSession: STEAM: Search result 0: LobbyId=Lobby[0x18600000078E86E], LobbyId.IsValid()=true, CSteamID(LobbyId).IsLobby()=true
[2021.10.27-14.02.19:938][448]LogScript: Script Msg: Found a session. Ping is 9999
[2021.10.27-14.02.20:298][500]LogBlueprintUserMessages: [W_Multiplayer_Submenu] Found Session ID: 109775240925079662 Build ID:17155196
[2021.10.27-14.02.20:299][500]LogBlueprintUserMessages: [W_Multiplayer_Submenu] Found 0 sessions!
[2021.10.27-14.02.38:510][ 19]LogOnlineSession: Warning: STEAM: Can't destroy a null online session (GameSession)
[2021.10.27-14.02.38:510][ 19]LogBlueprintUserMessages: [W_SessionEntry_C_0] no session to destroy
[2021.10.27-14.02.38:796][ 61]LogOnlineSession: STEAM: Using P2P Data for Connection Serialization
[2021.10.27-14.02.38:796][ 61]LogOnlineSession: OSS: Join session: traveling to steam. :7777
[2021.10.27-14.02.38:796][ 61]LogBlueprintUserMessages: [W_SessionEntry_C_0] join successful!
[2021.10.27-14.02.38:802][ 61]LogNet: Browse: steam.76561198106247762/Game/Maps/Medieval/Map_WorldLandscape
[2021.10.27-14.02.38:802][ 61]LogNet: Display: SteamNetDriver_0 bound to port 7777
[2021.10.27-14.02.38:802][ 61]PacketHandlerLog: Loaded PacketHandler component: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)
[2021.10.27-14.02.38:802][ 61]LogOnline: STEAM: Adding user 76561198106247762:7777 from RegisterConnection
[2021.10.27-14.02.38:802][ 61]LogNet: Game client on port 7777, rate 100000
[2021.10.27-14.03.38:816][635]LogNet: Warning: UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 60.01, Real: 60.01, Good: 60.01, DriverTime: 60.01, Threshold: 60.00, [UNetConnection] RemoteAddr: 76561198106247762:7777, Name: SteamNetConnection_0, Driver: PendingNetDriver SteamNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID
[2021.10.27-14.03.38:816][635]LogNet: Error: UEngine::BroadcastNetworkFailure: FailureType = ConnectionTimeout, ErrorString = UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 60.01, Real: 60.01, Good: 60.01, DriverTime: 60.01, Threshold: 60.00, [UNetConnection] RemoteAddr: 76561198106247762:7777, Name: SteamNetConnection_0, Driver: PendingNetDriver SteamNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID, Driver = PendingNetDriver SteamNetDriver_0
[2021.10.27-14.03.38:816][635]LogNet: Warning: Network Failure: PendingNetDriver[ConnectionTimeout]: UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 60.01, Real: 60.01, Good: 60.01, DriverTime: 60.01, Threshold: 60.00, [UNetConnection] RemoteAddr: 76561198106247762:7777, Name: SteamNetConnection_0, Driver: PendingNetDriver SteamNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID
[2021.10.27-14.03.38:816][635]LogNet: NetworkFailure: ConnectionTimeout, Error: 'UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 60.01, Real: 60.01, Good: 60.01, DriverTime: 60.01, Threshold: 60.00, [UNetConnection] RemoteAddr: 76561198106247762:7777, Name: SteamNetConnection_0, Driver: PendingNetDriver SteamNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID'
[2021.10.27-14.03.38:816][635]LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: 76561198106247762:7777, Name: SteamNetConnection_0, Driver: PendingNetDriver SteamNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID, Channels: 2, Time: 2021.10.27-14.03.38
[2021.10.27-14.03.38:816][635]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 76561198106247762:7777, Name: SteamNetConnection_0, Driver: PendingNetDriver SteamNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID
[2021.10.27-14.03.38:816][635]LogNet: DestroyNamedNetDriver SteamNetDriver_0 [PendingNetDriver]
[2021.10.27-14.03.38:817][635]LogExit: PendingNetDriver SteamNetDriver_0 shut down
[2021.10.27-14.03.38:823][636]LogNet: Browse: /Game/Maps/Medieval/Map_WorldLandscape?closed
[2021.10.27-14.03.38:823][636]LogNet: Connection failed; returning to Entry
[2021.10.27-14.03.38:824][636]LogLoad: LoadMap: /Game/Maps/Medieval/Map_WorldLandscape?closed
[2021.10.27-14.03.38:824][636]LogWorld: BeginTearingDown for /Game/Maps/Map_PersistentLevel
[2021.10.27-14.03.38:825][636]LogWorld: UWorld::CleanupWorld for Map_PersistentLevel, bSessionEnded=true, bCleanupResources=true
[2021.10.27-14.03.38:825][636]LogSlate: InvalidateAllWidgets triggered.  All widgets were invalidated
[2021.10.27-14.03.38:825][636]LogWorld: UWorld::CleanupWorld for Map_Framework_Menu, bSessionEnded=true, bCleanupResources=true
[2021.10.27-14.03.38:825][636]LogSlate: InvalidateAllWidgets triggered.  All widgets were invalidated
[2021.10.27-14.03.38:852][636]LogNet: UChannel::CleanUp: ChIndex == 0. Closing connection. [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 76561198106247762:7777, Name: SteamNetConnection_0, Driver: PendingNetDriver SteamNetDriver_0, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID
[2021.10.27-14.03.38:854][636]LogAudio: Display: Audio Device unregistered from world 'None'.
[2021.10.27-14.03.38:854][636]LogNet: UNetConnection::PendingConnectionLost. [UNetConnection] RemoteAddr: 76561198106247762:7777, Name: None, Driver: PendingNetDriver None, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID bPendingDestroy=0 
[2021.10.27-14.03.38:854][636]LogOnline: STEAM: Removing P2P Session Id: Dan [0x110000108B38252], Channel: 7777, IdleTime: 60.052

The DefaultEngine is set up as follows and we are using a custom steamappid, not the default Spacewar 480 test ID:

[OnlineSubsystem]
;DefaultPlatformService=Null
DefaultPlatformService=Steam
PollingIntervalInMs=20
VoiceNotificationDelta=0.2
bHasVoiceEnabled=true

[OnlineSubsystemSteam]
bEnabled=true
SteamAppId=480
SteamDevAppId=480
GameServerQueryPort=27015
bRelaunchInSteam=false
GameVersion=1.0.0.0
bVACEnabled=1
bAllowP2PPacketRelay=true
P2PConnectionTimout=90

[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"
AllowDownloads = false

We also tried both using the built-in nodes for handling sessions and the AdvancedSessions plugin. Neither has worked/went any further than this.

There’s some info available online that Steam Subsystem is broken in 4.27. I can’t even create a Steam session in 4.27, whereas in 4.26 everything works just fine. Can you show the code / BP where you create sessions? I’m curious how you got that to work.

Looks like you forgot this in DefaultEngine.ini

[/Script/Engine.GameEngine]
+NetDriverDefinitions=DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")