# Steam Dedicated server fails to properly connect to GameServers API 

**URL:** <https://forums.unrealengine.com/t/steam-dedicated-server-fails-to-properly-connect-to-gameservers-api/2810629>\
**Category:** Multiplayer & Networking\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [August 16, 2026, 1:15am UTC](https://forums.unrealengine.com/t/steam-dedicated-server-fails-to-properly-connect-to-gameservers-api/2810629 "2026-08-16T01:15:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [August 16, 2026, 1:15am UTC](https://forums.unrealengine.com/t/steam-dedicated-server-fails-to-properly-connect-to-gameservers-api/2810629/1 "2026-08-16T01:15:14Z")

</div>

Hey,

When using new Steam Socket plugin with Steam OSS, it seems Dedicated server does not call TriggerOnSteamServerLoginCompletedDelegates when connected to GameServer API. Repro seems like build a dedicated server using Steam Socket + Steam OSS and observe server output (+ it won’t be visible in Steam servers list).

As of UE 5.8.1 there are several callbacks FOnlineAsyncTaskManagerSteam, but it seems one callback is missing - FOnlineAsyncTaskManagerSteam::OnSteamServersConnectedGS

Based on some community [discussions](https://forums.unrealengine.com/t/unexpected-gspolicyresponse-callback-ue5-dedicated-steam-server/2663077/15) it looks like a regression.

There are several ways of fixing that, including async task, or [simpler version](https://github.com/EpicGames/UnrealEngine/pull/13977/changes/85846dec3a0fad63d3f3dba441df1f4d2e1bc5f1#diff-6707f657c3b8426ebbb430e1c180afd291e4b4541d94a50e795550e603ce7d3bR676)

I adjusted code from Unreal Source Discord server discussion (courtesy to user \_giru, [link to message](https://discord.com/channels/187217643009212416/850816436082966588/1469372757379649751)). After that change dedicated server works correctly (starts, connectes to GameServer API, announces server etc).

```auto
/**
 * GameServer API version of connected to the Steam backend callback
 */
void FOnlineAsyncTaskManagerSteam::OnSteamServersConnectedGS(SteamServersConnected_t* CallbackData)
{
    FOnlineSessionSteamPtr SessionInt = StaticCastSharedPtr<FOnlineSessionSteam>(SteamSubsystem->GetSessionInterface());
 
    if (!SessionInt.IsValid())
    {
       return;
    }
 
    if (SessionInt->bSteamworksGameServerConnected)
    {
       return;
    }
 
    const FUniqueNetIdSteamRef ServerId = FUniqueNetIdSteam::Create(SteamGameServer()->GetSteamID());
 
    SessionInt->bSteamworksGameServerConnected = true;
    SessionInt->GameServerSteamId = ServerId;
    AsyncTask(ENamedThreads::GameThread, [Subsystem = SteamSubsystem, ServerId]()
    {
       if (!Subsystem)
       {
          return;
       }
 
       Subsystem->TriggerOnSteamServerLoginCompletedDelegates(true);
    });
}

```

I could prepare PR on github, though I’m not sure if AsyncTask here is enough, or something more complicated FOnlineAsyncEvent\<FOnlineSubsystemSteam\> is required.

Does Epic have any plans to fix it? What is current state of this plugin?

p.s. There are smaller things I’ve spotted, like Steam “Game Servers” always show servers as not having password, because OnlineSessionAsyncServerSteam.cpp lists this as TODO; or NumOpenPrivateConnections commented out in GetServerKeyValuePairsFromSession func. I assume this is highly experimental/WIP even on ue6-main

```auto
void GetServerKeyValuePairsFromSession(const FOnlineSession* Session, FSteamSessionKeyValuePairs& KeyValuePairs)
{
...
    //KeyValuePairs.Add(STEAMKEY_NUMOPENPRIVATECONNECTIONS, FString::FromInt(Session->NumOpenPrivateConnections));
    //KeyValuePairs.Add(STEAMKEY_NUMOPENPUBLICCONNECTIONS, FString::FromInt(Session->NumOpenPublicConnections));
}
 
void UpdatePublishedSettings(UWorld* World, FNamedOnlineSession* Session)
{
...
// @TODO ONLINE Password protected or not
  SteamGameServerPtr->SetPasswordProtected(false);
}

```

Best regards,

Bohdan

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![akoumandarakis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/akoumandarakis/32/1087813_2.png) [@akoumandarakis](https://forums.unrealengine.com/u/akoumandarakis)\
**Post date:** [August 18, 2026, 2:16pm UTC](https://forums.unrealengine.com/t/steam-dedicated-server-fails-to-properly-connect-to-gameservers-api/2810629/2 "2026-08-18T14:16:24Z")

</div>

Hi,

We’ve received similar reports with Steam dedicated servers, and we do have a potential fix shelved at CL 44788599. This adds back the OnSteamServersConnectedGS callback as well as the FOnlineAsyncEventSteamServerConnectedGS notification event for triggering the login completed delegates.

Could you try integrating this change to see if it resolves the issue?

Thanks,

Alex

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [August 18, 2026, 9:17pm UTC](https://forums.unrealengine.com/t/steam-dedicated-server-fails-to-properly-connect-to-gameservers-api/2810629/3 "2026-08-18T21:17:43Z")

</div>

Hello, Alex,

I’ve applied CL 44788599 instead of my changes, built, and apparently dedicated server works as intended (both Linux and Windows), server logs to GS Api and advertises as expected.

Should I keep this as a local patch, or you have plans to unshelve+check in CL at some point?

Best regards,

Bohdan

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![akoumandarakis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/akoumandarakis/32/1087813_2.png) [@akoumandarakis](https://forums.unrealengine.com/u/akoumandarakis)\
**Post date:** [August 19, 2026, 3:10pm UTC](https://forums.unrealengine.com/t/steam-dedicated-server-fails-to-properly-connect-to-gameservers-api/2810629/4 "2026-08-19T15:10:54Z")

</div>

Hi,

Great, I’m glad that’s working for you!

I believe we do have plans to eventually check in that CL, but I can’t provide any estimate as to when that may happen. In the meanwhile, you may want to keep that as a local patch.

Thanks,

Alex

[Attachment Removed]
