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().

已提問 2 個月前檢視次數 96 次
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.

已回答 2 個月前
profile picture
專家
已審閱 2 個月前

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

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

回答問題指南