Can't get any logs for GameLift fleet stuck in activating state while game build is constantly crashing

0

I've tested and tried everything I could imagine:

  • I've tested my GameLift server SDK integration with GameLift Anywhere;
  • I've tested my build running in 'amazonlinux' container;
  • I've tried to force log into CloudWatch to get realtime logs (didn't see any logs coming);

The only clue GameLift gives me is this error message: Server process exited without calling ProcessEnding(), exitCode(0), launchPath(/local/game/My.GameServer) It's really hard to iterate, because Fleet is stuck in an Activating state for an hour, can't be deleted, and there are limitations for the types of ec2 instances and, for some reason, there is a quota for only 1 fleet(in a region?) for me (due to new/free-tier account may be?) It's very frustrating and disappointing.

What else could I do to find out the crashing reason?

profile picture
已提問 1 年前檢視次數 376 次
1 個回答
1
已接受的答案

Hello,

The comments and answers to this question may help your investigation: https://repost.aws/questions/QUOYWPiFAjQ0iwAb6AFNSHJw/initsdk-timeout-using-gamelift-sdk-5-ue-5-1

The main items to checkout:

Lastly, you can check out AWS Service Quotas or the Support Console for requesting increases to your resource limits.

If you're still facing issues, I recommend creating a Support ticket so the Amazon GameLift team can take a deeper look into your specific use case.

Regards,

Jackson

AWS
已回答 1 年前
  • Thank you, Jackson! The problem lay with the ServerSDKVersion provided to the Build resource. (I knew it was something simple as that!) I was creating it with the CDK GameLift Alpha library, which doesn't allow for setting the SDK version for the Build construct (I suppose that's the risk you take when using Alpha libraries). I've reverted to using the lower-level construct for the Build, set the correct ServerSDKVersion (5.0.0), and now my Fleet faces no issues and successfully transitions to the ACTIVE state.

  • However, I'm somewhat confused as to why you recommended connecting directly to the instance, given that it's only possible with an activated fleet (according to the documentation), even though I mentioned that mine was stuck in the activating state?

  • Glad that solved your issue!

    It appears that documentation may be misleading, you are able to connect to the instance in an ACTIVATING fleet. I've alerted the team to look into updating that document to be clearer.

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

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

回答問題指南