No available process when using GameLiftLocal
Hello!
I've started getting this error when calling aws gamelift create-game-session for GameLiftLocal
"ERROR || - [GameLiftHttpHandler] Thread-36 - No available process."
This is the full command I'm using. Previously this hasn't given me any issues:
aws gamelift create-game-session --endpoint-url http://localhost:9080 --maximum-player-session 8 --fleet-id fleet123
Any ideas why this would suddenly give me issues? Have tried restarting my PC multiple times.
Hey Uskie,
Have you made any changes to your game code? As a reminder, you should make sure that the game server calls the Server SDK functions InitSDK() and then
ProcessReady()` so that GameLiftLocal knows it can start a GameSession.
Does this error pop up every time you try and start a game session? You should expect to see this error when trying to create a second game session per process (since GameSessions and game server processes are 1:1). You can always start up another server process if you want to create multiple game sessions.
GameLift Local Docs: https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-testing-local.html
Relevant questions
GameLiftLocal Crashes when commands are given to it
asked 2 months ago(FleetCapacityExceededException) when calling the CreateGameSession operation
asked 12 days agoUnable to reserver a process on fleet ( FleetCapacityExceededException)
Accepted Answerasked 7 months agoServer process exited without calling ProcessEnding()
asked 4 years agoNo available process when using GameLiftLocal
Accepted Answerasked 4 months agoRunning a "proxy" process on gamelift
Accepted Answerasked a year agogetting error on fleet activation of gamelift
asked 13 days agoError when calling aws cloudfront create-invalidation
Accepted Answerasked 3 months agoInternalServerError when setting circuit.probability() for device execution
asked 2 years agoServer process started correctly but did not call InitSDK() or ProcessReady() within 5 minutes.
asked 16 days ago
You are right! I feel silly - I made a change to my code, and InitSDK was never being called. I guess the error message threw me off. Thank you!