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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠