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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南