- Newest
- Most votes
- Most comments
So, I've figured this out together with the AWS Business Tech Support.
Previously AWS GameLift Websocket Connections have been automatically declined by CloudFront when coming from specific IP adresses, like TOR nodes, temporary proxies and - this was my issue - webhosting and cloud providers like Hetzner and Strato. So, setup was correct, but the Connection was declined because of this rules list: https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-ip-rep.html#aws-managed-rule-groups-ip-rep-anonymous
The AWS Gamelift team has adjusted the rule to remove the HostingProviderIPList
from the Blocking List, which now allows servers rented on hosting providers like Hetzner to connect to Gamelift. Thanks again!
Hi David, I can confirm that i got Gamelift Anywhere working on my own server. This guide(https://aws.amazon.com/blogs/gametech/unreal-engine-5-dedicated-server-development-with-amazon-gamelift-anywhere/) helped a lot when i did the setup. Could you try following this? also, please confirm that "The authentication token is updated in a script before running the server and is correct and unexpired - I validated it using the AWS Cli." - you want to be using the authentication token returned by GetComputeAuthToken.
Hi! Thanks for the answer. This was also one of the guides I've been following. My issue was not, that it didn't work, my issue was, that it didn't work on specific server machines. Take a look at my answer for the resolution :)
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
Is there any way, that this note: "If calls to InitSDK() are failing for game builds deployed to Anywhere fleets, check the ServerSdkVersion parameter used when creating the build resource. You must explicitly set this value to the server SDK version in use. The default value for this parameter is 4.x, which is not compatible. To resolve this issue, create a new build and deploy it to a new fleet." from the docs https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-server-sdk5-unreal-actions.html has something to do with it?
Hey David, that note in the docs link has a typo. It should be referring to the GameLift Build resource used with Managed EC2 fleets, and is not related to Anywhere fleets.
"The authentication token is updated in a script before running the server and is correct and unexpired - I validated it using the AWS Cli." - Just to clarify, are you using the authentication token returned by GetComputeAuthToken?