Hello.
Im using Unreal Engine 4 for development. My GameLift server starts and stops instantly.
My problem started randomly (i think). And i have tried lots of things, and flooded my project with different logs.
Tried again with ‘GameLift.CreateGameSession’ request and now i didn’t even get “Activate gamelift GameSession” log. I think something is very wrong with “GameLift” and i’m thinking about changing it for something normal. I have battled against that error for 3 days already.
Note! It used to work as it should work, error started when i uploaded new fleet a week back.
Look at your fleet metrics in GameLift. Do you see “Available GameSessions”? Do you see solid “Healthy” server processes? What does the CPU load look like on your instance?
If using multiple processes per instances have you tried scaling back so theres just 1
I assume you already using remote access into an instance so you can tail your logs in real time, but if not this can be really helpful
Do you see any FleetEvents relating to unhealthy processes or failing health checks?
As previously suggested I would try creating 1 game session at a time on your fleet and ensure that your process receives it, accepts it and is healthy after the fact.
Would ensure you are not starving your health check callback or other threads; logs just stopping would indicated deadlock, cpu starvation or potentially a crash somewhere.
I somehow cannot get connection to my instances. AWS Cli gives me message: “An error occurred (NotFoundException) when calling the GetInstanceAccess operation: Host (i-09d092ab9d18ddde5) not found.”, while my instance is active. Here i’m describing my instances.Any ideas why is this broken for me?
I found that i have fleet message “Game session failed to activate within 5 minutes of ActivateGameSession()”. Hope it gives more ideas how to debug, because i’m all out :D. Except abandoning GameLift.