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.

gefragt vor 4 Jahren203 Aufrufe
5 Antworten
0
Akzeptierte Antwort

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

beantwortet vor 4 Jahren
0

Hi @REDACTEDUSER

beantwortet vor 4 Jahren
0

Hi @REDACTEDUSER

beantwortet vor 4 Jahren
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-******

beantwortet vor 4 Jahren
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

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen