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.

preguntada hace 4 años203 visualizaciones
5 Respuestas
0
Respuesta aceptada

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

respondido hace 4 años
0

Hi @REDACTEDUSER

respondido hace 4 años
0

Hi @REDACTEDUSER

respondido hace 4 años
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-******

respondido hace 4 años
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

respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas