UE4+Gamelift client connection fails

0

Hello!) I have an issue with client/server connection. I created a game session, reserved a player session, got the URL for a client. But when the UE4 client calls ClientTravel("ip+port+?+PlayerSessionId=...), the server's game mode doesn't fire either Login() or PreLogin() functions. Because of that, I can't get a PlayerSessionId from the "Options" argument and validate the PlayerSesssion on the server and Gamelift closes it after 1 minute. When I run a server locally without Gamelift, "Login()" fires as expected. Gamelift health check works great in the server's game mode as well. Please help!

已提問 2 年前檢視次數 377 次
1 個回答
0
已接受的答案

Hi Igor, as per my understanding it seems to be that the UE4 client isn't able to send requests to your game sever on GameLift. Have you verified that your GameLift fleet is configured to accept inbound connections on the port it is expecting requests from the client? You can do this by using the update-fleet-port-settings command. Find more documentation here: https://docs.aws.amazon.com/cli/latest/reference/gamelift/update-fleet-port-settings.html

AWS
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南