By using AWS re:Post, you agree to the Terms of Use

GameLift and CloudFront

0

Hello,

I created custom service on Game Lift for my game(I use Linux instance) and all works fine, but I also want to use some assets from cloudFront(s3) and it works when I try locally on my machine(PC), but when I create my fleet with my build(linux) I got some errors:

System.Exception: Unable to load ContentCatalogData from location https://*.cloudfront.net/catalog_2022.**.json on second attempt. System.Exception: Failed to load content catalog. OperationException : ChainOperation failed because dependent operation failed System.Exception: Failed to load content catalog.

UnityWebRequest result : ProtocolError : HTTP/1.1 403 Forbidden ResponseCode : 403, Method : GET url : https://*****.cloudfront.net/catalog_2022.****.json

Are there any additional settings so I can access the cloudfront from my instance on gamelite? Thanks in advance!

1 Answers
0

Hi AndjelijaIng,

A few things to try:

  1. Check if your policies are configured correctly: https://aws.amazon.com/premiumsupport/knowledge-center/s3-website-cloudfront-error-403/
  2. Try downloading from an incognito browser locally to see if you can access the file
  3. SSH/RDP to your gamelift instance: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-remote-access.html, and then try accessing cloudfront from there to see if it can produce any more helpful error messages.
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions