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

Realtime Server Fleet Etag errors

0

Hi, I am experiencing a similar error to https://forums.awsgametech.com/t/realtime-server-fleet-****** I uploaded my builds using the latest version of the cdk and the build is going to active but is not able to launch any game sessions. I have logged onto the server directly and it seems that in my case there are two "etag" folders that have been created: one etag-0 and the other etag-12102bc463be3ae52848dca1be76e9b8. When I manually launch the version in etag-0 it starts my server up. However, the version on etag-12102bc463be3ae52848dca1be76e9b8 states that I have insufficient permissions. The build is defaulting to launching via etag-12102bc463be3ae52848dca1be76e9b8.

asked 2 years ago16 views
5 Answers
0
Accepted Answer

Based on your code have you tried setting the objectmetadata?

ObjectMetadata objectMetadata = new ObjectMetadata();
objectMetadata.setContentEncoding("gzip");
objectMetadata.setContentType("application/x-gzip")
     
....
Request.SetObjectMetadata(objectMetadata);

I don't have a good repro with the CDK et al. but it will be something like this to force the encoding to be handled correctly.

You can probably check the

answered 2 years ago
0

Hi @REDACTEDUSER

answered 2 years ago
0

Hi @REDACTEDUSER

answered 2 years ago
0

I believe theres a known issue using the CDK to upload a zip causing it to fail when its unzipped for the GameLift realtime fleet.

See https://forums.awsgametech.com/t/realtime-server-fleet-******

answered 2 years ago
0

Hi @REDACTEDUSER I have looked into your prior messages on https://forums.awsgametech.com/t/realtime-server-fleet-****** However I have looked through my code and I can't see an option to change anything like that:

            UploadPartRequest Request = new UploadPartRequest();
            Request.BucketName = Params.GetBucketName();
            Request.FilePath = Params.GetFullPath();
            Request.Key = Params.GetKeyName();
            WaitingUploads.Add(S3Client.UploadPartAsync(Request));

The upload part request doesn't seem to have too many built in options? Do you know how I can set these properties? Thanks, Jack

answered 2 years 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