Dedicated Server Connection Issue

Hello, I want to connect PlayFab dedicated server (Linux). I’ve added 64 bit steamclient.so file and correct SSL certificate on Linux build. Server build has no errors. I can connect in Editor and Standalone mode but not in Shipping. I’ve tried millions of combinations on DefaultEngine.ini. (NetDriver) but didn’t worked.
When I look at the logs, it says “Error initializing the pending net driver.” When I changed the .ini file with different NetDriver, logs doesn’t say “Error Initializing pending net driver”, it says “Connection timed out.”
Somehow, handshake response is not coming from Server in shipping build. Something happening when I export the game. I’m sure this issue is NetDriver related but I couldn’t find a solution yet. Did someone encountered this issue before? Someone can help me please? I’m stuck here. :frowning:

Should I put steam_appid.txt file to Server Build? I’ll try. :slight_smile:

Same :frowning:

[2023.01.15-15.24.30:146][606]LogNet: Browse: ip:30000/Game/Maps/MainMenu
[2023.01.15-15.24.30:146][606]LogNet: SteamSocketsNetConnection_2147482494 setting maximum channels to: 32767
[2023.01.15-15.24.30:146][606]PacketHandlerLog: Loaded PacketHandler component: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)
[2023.01.15-15.24.30:157][606]LogHandshake: Stateless Handshake: NetDriverDefinition 'GameNetDriver' CachedClientID: 7
[2023.01.15-15.24.30:158][606]LogSockets: SteamSockets: Now tracking socket 4286818192 for addr ip:30000, has parent? 0
[2023.01.15-15.24.30:158][606]LogNet: Game client on port 30000, rate 500000
[2023.01.15-15.24.30:158][606]LogNetVersion: 1.0.0, NetCL: 0, EngineNetVer: 30, GameNetVer: 0 (Checksum: 3139431653)
[2023.01.15-15.24.35:884][436]LogOnline: Warning: STEAM: Failed to obtain steam user stats, user: xx has no stats entries
[2023.01.15-15.24.40:179][ 54]LogNet: Error: UEngine::BroadcastNetworkFailure: FailureType = PendingConnectionFailure, ErrorString = Your connection to the host has been lost., Driver = PendingNetDriver SteamSocketsNetDriver_2147482495
[2023.01.15-15.24.40:180][ 54]LogNet: Warning: Network Failure: PendingNetDriver[PendingConnectionFailure]: Your connection to the host has been lost.
[2023.01.15-15.24.40:180][ 54]LogNet: NetworkFailure: PendingConnectionFailure, Error: 'Your connection to the host has been lost.'
[2023.01.15-15.24.40:180][ 54]LogNet: DestroyNamedNetDriver SteamSocketsNetDriver_2147482495 [PendingNetDriver]
[2023.01.15-15.24.40:189][ 55]LogNet: Browse: /Game/Maps/MainMenu?closed
[2023.01.15-15.24.40:189][ 55]LogNet: Connection failed; returning to Entry

Maybe try and specify a longer connection timeout in the .ini and see if that might help?

I’m not familiar with PlayFab, but with AWS “security group” settings can block inbound and outbound connections if the ports aren’t open to public connections. Without those ports open in the rules, the server just doesn’t even respond at all.

Additionally, I’ve had trouble with servers outside of steam that connect to raw IP/ports when steam is enabled. From what I find is that it doesn’t use the IP address but a steam Net ID instead, so it throws up issues with the Net Drivers. But I’m not sure if that’s related to your issue.

1 Like

Thanks for reply. Do you know how can I connect with steam Net ID? PlayFab gives me Ip:Port, so I need to transform to steam net Id somehow.

This was a topic of discussion in a previous thread. It’s a little old so I haven’t been able to wade through the details and see if it’s still relevant. Definitely more complicated than just using the Null subsystem. It does address this issue, but in a relatively complicated way if you ask me…

https://forums.unrealengine.com/t/connect-to-steam-dedicated-server-via-raw-ip/111643/4

1 Like