Multiplayer Sample issue with certificate handshake?

I’ve deployed the MP Sample once with success, but going back to it now, I am getting an issue when joining a session. I’ve tried full rebuilds/redployments but am having issues getting past this for the past two days.

Notes:

  • I am able to validate my aws credentials/fleet and retrieve current active sessions in the lobby

  • I am able to create sessions, but only run into error when trying to join the session. I am never able to actually enter the session map anymore

Edit: I also realized that I am unable to join sessions on locally hosted dedicated servers. The server cli has no issue displayed but client still times out with this same error.


<12:03:17> (GameLift) - Initialized GameLift client successfully.
<12:03:22> (GridMate) - Joining session arn:aws:gamelift:us-east-1::gamesession/fleet-abcde-2ad2-41f2-b2f3-01bb42ec1e68/gsess-f906620f-5713-4217-asdf-1470699976a9 created by 34.238.158.54|33435
<12:03:22> (MultiplayerModule) - Session arn:aws:gamelift:us-east-1::gamesession/fleet-abcde-2ad2-41f2-b2f3-01bb42ec1e68/gsess-f906620f-5713-4217-asdf-1470699976a9 has been created.
<12:03:22> Marked as connected client.
<12:03:22> (GridMateSecure) - Connecting to 34.238.158.54|33435.DgramsSent=0, DgramsReceived=0
<12:03:22> (GridMateSecure) - Exchanging cookie with 34.238.158.54|33435.DgramsSent=0, DgramsReceived=0
<12:03:22> (GridMateSecure) - Starting SSL portion of handshake with 34.238.158.54|33435. DgramsSent=2, DgramsReceived=2
<12:03:22> (GridMateSecure) - Connection error occured on 34.238.158.54|33435 with SSL error error:14090086:SSL routines:ssl3_get_server_certificate:certificate verif
y failed.
<12:03:22> (GridMateSecure) - Secure connection to 34.238.158.54|33435 terminated. DgramsSent=4, DgramsReceived=7
<12:03:23> (GridMateSecure) - Connecting to 34.238.158.54|33435.DgramsSent=0, DgramsReceived=0
<12:03:23> (GridMateSecure) - Exchanging cookie with 34.238.158.54|33435.DgramsSent=0, DgramsReceived=0
<12:03:23> (GridMateSecure) - Starting SSL portion of handshake with 34.238.158.54|33435. DgramsSent=2, DgramsReceived=2
<12:03:23> (GridMateSecure) - Connection error occured on 34.238.158.54|33435 with SSL error error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed.
.. loops until ..
 <12:03:32> (GridMate) - [3bcb1c40] Handshake to 34.238.158.54|33435 did not complete within 10000 ms!
<12:03:32> (GridMate) - FailedToConnect 04B38DCC => (34.238.158.54|33435,Handshake timeout)
<12:03:32> (GridMate) - Failed to join session arn:aws:gamelift:us-east-1::gamesession/fleet-abcde-2ad2-41f2-b2f3-01bb42ec1e68/gsess-f906620f-5713-4217-a163-1470699976a9
<12:03:32> Session arn:aws:gamelift:us-east-1::gamesession/fleet-abcde-2ad2-41f2-b2f3-01bb42ec1e68/gsess-f906620f-5713-4217-a163-1470699976a9 has been deleted.
<12:03:32> Marked as local only.
<12:03:32> ==================================================================
<12:03:32> Trace::Assert
c:\Amazon\Lumberyard\1.13.0.0\dev\Code\Framework\AzFramework\AzFramework\Network\InterestManagerComponent.cpp(131): 'void __cdecl AzFramework::InterestManagerComponent::OnNetworkSessionDeactivated(class GridMate::GridSession *)'
Invalid session. Received Desctivated event for session we never Activated?

*The GridMateSecure logs loop until timeout.

** I’ve also tried setting gm_netsec_enable = 0 gm_netsec_verify_client = 0, and the client still times out on joining.

So this was solved but I can’t figure out what was wrong…

I’ve tried full rebuilds with no success on connecting fresh client to dedicated server. Only after completely replacing my multiplayersample project folder and gamelift+multiplayer gem folders, and then rebuilding, client was able to connect to dedicated server again.

One thing I noticed however was that when I replaced these folders and built for the FIRST (and only first) time, I saw the cli prompt the generation of new certificate.