I’m at my wit’s end with this. I get this steam sockets error whenever I try and create a session using the online subsystems session’s interface.
All of the plugins are enabled (OnlineSubstems, OnlineSubsystemsSteam, OnlineSubsystemsNull), and I have edited the Build.cs file adding them all as private module dependencies. I have changed by DefaultEngine.ini file to what the docs have told me to.
It seems to initialise correctly according to the log file:
[2022.07.14-16.02.15:224][ 0]LogSockets: SteamSockets: Initializing Network Relay
...
[2022.07.14-16.02.15:239][ 0]LogSteamSocketsAPI: Verbose: SteamSockets API: Log Certificate expires in 24h06m at 1657901327 (current time 1657814534), will renew in 22h06m
[2022.07.14-16.02.15:313][ 0]LogSteamSocketsAPI: Warning: SteamSockets API: Warning SDR network config fetch first attempt failed. HTTP 504. . Trying again.
...
[2022.07.14-16.02.15:488][ 0]LogSteamSocketsAPI: Verbose: SteamSockets API: Log Got SDR network config. Loaded revision 378 OK
[2022.07.14-16.02.15:489][ 0]LogSteamSocketsAPI: Verbose: SteamSockets API: Log Performing ping measurement
[2022.07.14-16.02.15:489][ 0]LogSteamSocketsAPI: Verbose: SteamSockets API: Log SDR RelayNetworkStatus: avail=Attempting config=OK anyrelay=Attempting (Performing ping measurement)
[2022.07.14-16.02.15:490][ 0]LogSteamSocketsAPI: Verbose: SteamSockets API: Log AuthStatus (steamid:76561198033513709): OK (OK)
Despite this, I still get the errors shown in the first image whenever I try and create a session. This is the code I am using to create my session.
FOnlineSessionSettings SessionSettings;
SessionSettings.bAllowJoinInProgress = true;
SessionSettings.bIsDedicated = false;
SessionSettings.bIsLANMatch = true; // change when using steam
SessionSettings.bShouldAdvertise = true;
SessionSettings.bUsesPresence = true;
SessionSettings.NumPublicConnections = 5;
SessionSettings.bUseLobbiesIfAvailable = true;
SessionInterface->CreateSession(0, FName("Host Sesh"), SessionSettings);
If I disable the steam stuff I can get a lan session to work just fine, and can connect from another client locally. The lack of documentation on this means I have hit a brick wall, and I’m really not sure what else to do at this point. Any help would be appreciated, thanks.