Attempting to start GameLiftLocal server and game session but failing with 404

0

I would like to test my UE4 project with gamelift local but I am running into an issue with the AWS CLI. I have successfully started the GameLiftLocal.jar and GameLiftServer.exe with the command line. I am now calling the command " aws gamelift create-game-session --endpoint-url http://localhost:9080 --maximum-player-session-count 2 --fleet-******

An error occurred (404) when calling the CreateGameSession operation: <html><head><title>Not Found</title></head><body><h1>404 Not Found</h1></body></html>

Everything compiled and packaged without any issues. I do not even know where to look to find the bug. The AWS documentation says error 404 is MalformedQueryString but I dont know what this means.

Has anyone run into this problem before or can give me some direction? Help would be greatly appreciated.

已提問 4 年前檢視次數 194 次
1 個回答
0

Firstly, run GameLift local jar on the command line so you can see its logs and to ensure you set the correct port java -jar GameLiftLocal.jar -p 9080

  • Make sure you see GameLift local start up without issues
  • Ensure your windows firewall is not blocking connections (if on Windows)

Now to make a Game Session, you need to ensure:

  • GameLift local shows you called InitSDK and ProcessReady
  • Then check that GameLift local has seen your create game session call

The 404 could be from GameLift local service but its more likely that its from GameLift local talking to your local server.

Good luck

已回答 4 年前

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

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

回答問題指南