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.

已提问 4 年前203 查看次数
5 回答
0
已接受的回答

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

已回答 4 年前
0

Hi @REDACTEDUSER

已回答 4 年前
0

Hi @REDACTEDUSER

已回答 4 年前
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-******

已回答 4 年前
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

已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则