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

preguntada hace 2 meses109 visualizaciones
1 Respuesta
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.

respondido hace 2 meses
profile picture
EXPERTO
revisado hace 2 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas