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
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.
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
Problems using the GameLift SDK with custom protobuf versionasked 3 years ago
Watching TypeScript CDK Buildsasked 6 months ago
Is there a way to modify the existing server executable files in a running fleet?Accepted Answerasked 3 years ago
Why I am getting "We are experiencing unexpected errors. Please try again later" error while enabling AWS Wisdom in AWS Connect?asked 5 months ago
I am not able to stop or terminate the serverasked 3 months ago
SSM Agent Latest Version Release Dateasked 2 years ago
Uploaded Builds not showing in Gameliftasked 8 months ago
In RDS Custom SQL Server, can I adjust the main database storage using custom EBS or similar?Accepted Answerasked 2 months ago
Unable to create the application versionasked 8 months ago
Realtime Server Fleet Etag errorsAccepted Answerasked 2 years ago