No active server processes showing despite Process running and healthy

0

I'm using Amazon Gamelift Anywhere to run a server from my local machine attached to a custom location inside a fleet. My server is running fine, it calls InitSDK() and successfully connects to the websocket. I can see that ProcessReady() has returned successfully and my process is reporting as healthy.

However, the Gamelift dashboard keeps showing that my location has 0 active server processes, and when I try to create a game session using the API, I get this error:

An error occurred (FleetCapacityExceededException) when calling the CreateGameSession operation: Unable to reserve a process(No active and available server processes found on the fleet).

How do I get Gamelift to recognize the active server process I'm running locally? I'm already calling InitSDK() and ProcessRunning().

已提问 3 个月前110 查看次数
1 回答
1

I solved this issue. It turns out I wasn't sending a unique Process ID when calling InitSDK(), so it wasn't registering as a new process running because I was using a hard-coded constant.

已回答 3 个月前
profile picture
专家
已审核 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则