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

gefragt vor 2 Monaten96 Aufrufe
1 Antwort
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.

beantwortet vor 2 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen