Unable to connect to steam dedicated server

I’ve been trying to setup a dedicated server for days now and keep running into problems. I have finally managed to get it where the server seems to but I don’t seem to be able to connect to it. I have attached logs for both client and server logs with the following line seems to be the most relevant.

From the Client:

2017.06.27-13.47.27:866][ 87]NetworkLog:Warning: Attempting to Find Game
[2017.06.27-13.47.27:875][ 89]LogOnline:Verbose: STEAM:  "gamedir" "Honeypot" 
[2017.06.27-13.47.30:392][391]LogOnline:Warning: STEAM: Failed to respond IP:188.29.165.98
[2017.06.27-13.47.30:393][391]LogOnline:Verbose: STEAM: Server query complete '0' eServerResponded (Server success)
[2017.06.27-13.47.30:393][391]LogOnline:Verbose: Async task 'FOnlineAsyncTaskSteamFindServers bWasSuccessful: 1 Results: 0' succeeded in 2.520170 seconds
[2017.06.27-13.47.30:393][391]NetworkLog:Warning: FindSessionsComplete true
[2017.06.27-13.47.30:394][391]NetworkLog:Warning: No Game Found 

and the server:

I am using 4.15 from source.

[2017.06.27-13.47.02:943][  1]LogOnline:Verbose: STEAM: Initializing Steam game server
[2017.06.27-13.47.04:640][ 52]LogOnline:Verbose: STEAM: FOnlineAsyncEventSteamServerConnectedGS ServerId: Server [0x140222834C06800]
[2017.06.27-13.47.05:042][ 64]LogOnline:Verbose: STEAM: FOnlineAsyncEventSteamServerPolicyResponseGS Secure: 1
[2017.06.27-13.47.05:076][ 65]LogOnline:Verbose: Async task 'FOnlineAsyncTaskSteamCreateServer bWasSuccessful: 1' succeeded in 2.183849 seconds
[2017.06.27-13.47.05:076][ 65]LogOnline:Verbose: STEAM: Server SteamP2P IP: 90109548626470912:7777
[2017.06.27-13.47.05:081][ 65]LogOnline:Verbose: STEAM: Server IP: 188.29.165.98:7777
[2017.06.27-13.47.05:083][ 65]LogOnline:Verbose: STEAM: Master Server Data (OWNINGID, 90109548626470912)
[2017.06.27-13.47.05:083][ 65]LogOnline:Verbose: STEAM: Master Server Data (OWNINGNAME, 90109548626470912)
[2017.06.27-13.47.05:084][ 65]LogOnline:Verbose: STEAM: Master Server Data (P2PADDR, 90109548626470912)
[2017.06.27-13.47.05:085][ 65]LogOnline:Verbose: STEAM: Master Server Data (P2PPORT, 7777)
[2017.06.27-13.47.05:086][ 65]LogOnline:Verbose: STEAM: Master Server Data (SESSIONFLAGS, 683)
[2017.06.27-13.47.05:091][ 65]LogOnline:Warning: STEAM: Server setting ,SESSIONFLAGS:683 overflows Steam SetGameTags call
[2017.06.27-13.47.05:093][ 65]LogOnline:Verbose: STEAM: Master Server Data (GameMode_s, TeamDeathmatch)
[2017.06.27-13.47.05:094][ 65]LogOnline:Warning: STEAM: Server setting ,GameMode_s:TeamDeathmatch overflows Steam SetGameTags call
[2017.06.27-13.47.05:097][ 65]LogOnline:Verbose: STEAM: Master Server Data (MATCHTIMEOUT_f, 120.000000)
[2017.06.27-13.47.05:099][ 65]LogOnline:Warning: STEAM: Server setting ,MATCHTIMEOUT_f:120.000000 overflows Steam SetGameTags call
[2017.06.27-13.47.05:101][ 65]LogOnline:Verbose: STEAM: Master Server Data (SEARCHKEYWORDS_s, Custom)
[2017.06.27-13.47.05:102][ 65]LogOnline:Warning: STEAM: Server setting ,SEARCHKEYWORDS_s:Custom overflows Steam SetGameTags call
[2017.06.27-13.47.05:104][ 65]LogOnline:Verbose: STEAM: SetGameTags(BUILDID:1051359014,OWNINGID:90109548626470912,OWNINGNAME:90109548626470912,P2PADDR:90109548626470912,P2PPORT:7777)
[2017.06.27-13.47.05:105][ 65]LogOnline:Verbose: STEAM: SetGameData(OWNINGID:90109548626470912,OWNINGNAME:90109548626470912,P2PADDR:90109548626470912,P2PPORT:7777,SESSIONFLAGS:683,GameMode_s:TeamDeathmatch,MATCHTIMEOUT_f:120.000000,SEARCHKEYWORDS_s:Custom)
[2017.06.27-13.47.05:106][ 65]LogOnline:Verbose: STEAM: Aux Server Data (OWNINGID, 90109548626470912)
[2017.06.27-13.47.05:107][ 65]LogOnline:Verbose: STEAM: Aux Server Data (OWNINGNAME, 90109548626470912)
[2017.06.27-13.47.05:110][ 65]LogOnline:Verbose: STEAM: Aux Server Data (P2PADDR, 90109548626470912)
[2017.06.27-13.47.05:115][ 65]LogOnline:Verbose: STEAM: Aux Server Data (P2PPORT, 7777)
[2017.06.27-13.47.05:116][ 65]LogOnline:Verbose: STEAM: Aux Server Data (SESSIONFLAGS, 683)
[2017.06.27-13.47.05:117][ 65]LogOnline:Verbose: STEAM: Aux Server Data (GameMode_s, TeamDeathmatch)
[2017.06.27-13.47.05:118][ 65]LogOnline:Verbose: STEAM: Aux Server Data (MATCHTIMEOUT_f, 120.000000)
[2017.06.27-13.47.05:119][ 65]LogOnline:Verbose: STEAM: Aux Server Data (SEARCHKEYWORDS_s, Custom)
[2017.06.27-13.47.05:122][ 65]NetworkLog:Warning: OnCreateSessionComplete Game bSucess: true 

So it very much seems like it is being hosted and saying it is ready to work but it is being blocked so how. I have fully disabled my computer firewalls to test but that seemed to make no difference.

It also does not seem to be viewable in the steam global server list (in steam ->view → server) and trying to find my server.

Has anyone got any ideas on what it could be.

Ah right, that makes sense. Where about in the engine is that options?

Ok thanks, man, I had a look around in the source but wasn’t exactly sure, Cheers for the help!

As an update, I managed to connect to the server using

open steam.XXXXX

and it works lan and online. but still not able to find using steam settings and not coming up in the global steam server list.

You need to turn off the P2P network when using dedicated servers in the engine, otherwise it won’t work.

You have to edit the C++ source code manually, for example the InitListen event in SteamNetDriver.cpp

When you say edit the C++ source code, what changes are we looking to make? Nothing jumps out to me as a ‘P2P On/Off’ switch.

Are you sure about this? I’d imagine it’ll do it’ll do it automatically that’s bad.

And what exactly is that “XXXXX”? Is that the public IP:PORT of the server or what?

I have the same problem basically. I tested a few things (P2P Adress, IP, etc.), all with and without ports.
What worked in the end was “Open steam.XXXX” where XXXX is the “OwningID”.

Im also at a point where my server is shown in the LAN Tab of the Steam Server Browser (although its not created as a LAN Server.)
My assumption for my own problem is now that I have to get my port forwarding correct.