Introduction: I am encountering a connection issue using the Lyra Starter Game template (UE 5.7.1). When attempting to join a Dedicated Server via EOS, the client successfully completes the Beacon handshake but fails to travel to the actual game map because the connection URL resolves with Port 0.
The Symptoms:
-
Beacon Success: The
PartyBeaconClientconnects to the server IP on port 15000 successfully and receivesBeaconWelcome. -
Travel Failure: Immediately after,
CommonSessionSubsystemattempts aClientTravel. -
The Error: Logs show:
LosgCommonSession: Warning: PlayerController->ClientTravel=>[124.90.28.231]:0. -
Timeout: Since port 0 is invalid, the client times out with
UNetConnection::Tick: Connection TIMED OUT.
Technical Findings:
-
I have verified via the EOS Developer Portal that the server session is registered correctly with the attribute
PORT_I: 7777. -
Manual connection via console command
open 124.90.28.231:7777works perfectly, proving the network and firewall are configured correctly. -
The issue seems to be in
CommonSessionSubsystem::InternalTravelToSession. The call toSessions->GetResolvedConnectString(SessionName, URL)returns the IP but fails to append the port provided in the Session Settings.
Questions:
-
Is this a known bug in the
CommonSessionplugin when used with EOS OSSv1 for Dedicated Servers? -
Why does
GetResolvedConnectStringfail to resolve the port even though it is present in the EOS Session attributes? -
What is the recommended way to ensure Lyra’s
InternalTravelToSessioncorrectly pulls thePORTattribute from Session Settings as a fallback?