Steam Connection

I’ve set up a project to connect online using steam. I am able to create and join sessions with lan and without lan checked from two pcs and two steam accounts on my network. But i’ve sent the project files to two friends and they are unable to join. I told them to turn off firewall/protection for good measure but to no avail.
I am using GameServerQueryPort=27015 so told them to allow this port. Is there any other ports that they may be blocking and need to enable?

Also, if I am able to connect from my network with two pcs/steam accounts, lan and no lan checked, shouldn’t this work for them?

Hey Mortusnyte,

If your friends are having a hard time connecting, I highly recommend getting their log files from the Saved->Logs folder and taking a look to see if there are any errors printed. Typically, when a client fails to connect, the log will provide a decent error message that you can use to begin investigating the issue.

Let me know if you find anything.

Have a great day

Thank you for the reply, will test it out again tomorrow and look at the logs. Will let you know what happens there!

I’ve linked to a txt doc since it was taking too many characters. Thank you!

link text

But basically I get the same errors from trying to join a game regardless of him hosting or not. Will get the log files of when I join the game from the other PC on my network

I got the logs from joining the session from my network. I’m assuming it manages to join via the OnlineSubsystem NULL since steam is giving off the same errors

EDIT: Or maybe it is still joining via Steam “LoadMap: steam.76561198386866777//Game/DefaultMaps/Shooting_Range?”
link text

This is likely to due a few things:

  1. You’re trying to connect to another session locally, which Steam does not deal well with. You need to make sure you’re testing on two different environments and logged into separate Steam accounts.
  2. You don’t have an adequate number of public connections on your Create Session node. I’d raise it as high as 100 or even more if it still doesn’t work.
  3. Here’s a thread with an explanation to a user who experienced a similar error: https://answers.unrealengine.com/questions/458306/steam-multiplayer-failed-to-parse-settings.html
  4. Here is another, older, thread that may contain useful information as well: Unreal Engine 4.8 Pre. 4 Steam Issues - Platform & Builds - Unreal Engine Forums

Have a great day!

Ah ok I will look into this! Thank you for the hints, I will mark this as resolved and will get back to you next week to see if I was successful! Thank you again, very helpful! It makes a lot of sense that I may not have enough public sessions exposed (I had it on 50) since other people are using the same appID, there may be many more sessions created with gameID’s that don’t match up. I suppose the errors I am seeing is the game trying to connect to these other sessions that don’t have matching gameIDs. I wouldn’t of thought of this on my own. But it is so obvious at the same time. I just forgot that spacewars was a public id.

Well turns out there were more to the problem. I was trying to test with my partner in the UK (I’m in Canada) and he had to set his download region to mine in steam for it to work. Also I have a friend in the states whom we can join his hosted game but he cannot join ours. And friends in local area that cannot connect or join at all with the same region set. Over all testing with a wide range of people in different areas has given us mixed results overall. But steam is definitely working.

Unfortunately we haven’t run into this issue on our end. I’m not sure what could be causing the issue for you. You could try using a NULL Online Subsystem instead for testing purposes to see if that makes a difference, but other than that I couldn’t think of anything that would be preventing other players from joining.