What causes error "pending connexion failed"?

Hello AnswerHub people, and first of all thank you for your dedication. It really helps newcomers like me understand the engine better.

Anyway!

I’ve been following the official “Blueprint multiplayer” tutorial - Blueprint Multiplayer: Project Overview | 01 | v4.11 Tutorial Series | Unreal Engine - YouTube -

Everything works fine when i play in editor, and my 3 to 11 characters can join the same lobby map just fine.

When i play in standalone on 2 different computers however, there is a problem:

I cannot join session.

It finds the right session (or so it seems)

tries to load, and eventually fails, flashing a NetworkError: Pending Connection Failure, before going back to main menu

When I try to join the session again it just prints failed to join.

My GameInstance Create/Join/Destroy nodes

My search/refresh session node (i have a call to “join server” in the event graph as well)

Also:
My DefaultEngine.ini is set,

Steam is up and running on both computers, and the steam plugin is added to the project,

I’m NOT using Gamemodebase class but Gamemode class,

Seamless Travel is on,

When i open the lobby map, listen is on…

To sum it up, I guess my question is quite simple:

What else do i need to check? What can cause Pending Connexion failed?

Thanks in advance!

Daily bump. I really need this to work guys :confused:

bumpalicious. Anyone?

I’m having this exact problem with my little project game as well. I have Steam set up correctly in the DefaultEngine.ini, everything seems to be hooked up correctly (I’m doing all of this in the menus and putting the functionality in a game-instance, I’m calling it all correctly and everything is checking out that way) and it gets to where it says I’ve joined the server, and then bam puts me back in my main menu still technically connected to the other server, but I’ve set it up to catch any possible errors and it’s catching the “Pending Connection Failure” error even though everything seems to be set up correctly.

I’ve gone back and forth checking my engine.ini, checking my server hosting, finding, and joining functions and making sure they’re all doing what they’re supposed to (they are) and it seems that I keep getting this error even though I’m able to successfully broadcast and find servers.

If the original poster happened to find an answer, posting it here would be greatly appreciated, but if anyone else has an answer that would be greatly appreciated too.

I think it should also be noted that I have done this before on a separate project, and it had worked just fine no problem; however, between that project and this one, there’s really no differences in how I handled the functionality and UI. Everything is hooked up the same way (albeit a little more efficiently this time), and everything should be working, but just isn’t. Any kind of response would be greatly appreciated.

Hey,
I never ended up finding a solution to this.

To be perfectly honest i dropped the project for 2 main reasons:

  • My lack of knowledge regarding replication
  • The tutorial series i followed was rushed and ends without proper steam testing. Since then, i try to make sure of who at Epic is doing the tutorial i want to watch, as well as read the comments about said tutorial.

Sorry i couldn’t help more. Hope you find a solution.

I found the solution to my problem; however, the actual cause behind my pending connection failure was a pretty specific case and there’s almost no way that anyone else was suffering from the exact same reason I was, but long story short I was using an engine version built from source code, and had altered the source code in order to run a dedicated server and make it work customizably. Well, what ended up happening is when I started a new project, the changed source code carried over and was incompatible with the way I was trying to set up networking in this new project.

The actual specific problem I was encountering was that my engine was set up in a way that was making the hosted port be 0, which just won’t work. After I deleted the source code version of the engine and downloaded the newest (as of writing this), engine version, everything started working as expected and I was no longer receiving the error and connections were going smoothly.

If you are encountering this same problem, I recommend checking your log files to see what exactly is happening when you’re trying to set up and join a network. Generally it will give you an idea of where you’re going wrong or what is or isn’t happening that is breaking it.

So to sum up: Check the logs. The problem is probably very specific to you, and only your logs can identify the problem.

1 Like