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.
I've been following the official "Blueprint multiplayer" tutorial - https://www.youtube.com/watch?v=abmzWUWxy1U -
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!
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.
answered Apr 02 '19 at 02:16 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here