Skip to content

Add support to change SignatureVersion property of AmazonS3Config class. #1168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gilmargoulart
Copy link

@gilmargoulart gilmargoulart commented Jul 15, 2025

  • Add possibility to change SignatureVersion property, to address a issue related to Content-SHA256 when using Dell S3 custom storage.

Changing to SignatureVersion=2 works.
Using default SignatureVersion=4 only works with Dell S3 custom storage when setting a random value to ChecksumSHA256 property of the PutObjectRequest class. In the tests, the checksum does not need to match the file content.

2025-06-05 13:06:51,337 [7] ERROR GxFile - GXFile General Error
Amazon.S3.AmazonS3Exception: The Content-SHA256 you specified did not match what we received
---> Amazon.Runtime.Internal.HttpErrorResponseException: Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown.
at Amazon.Runtime.HttpWebRequestMessage.ProcessHttpResponseMessage(HttpResponseMessage responseMessage)
at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken)
at Amazon.Runtime.Internal.HttpHandler`1.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.RedirectHandler.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.Unmarshaller.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.S3.Internal.AmazonS3ResponseHandler.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext)
--- End of inner exception stack trace ---

Issue:205473

- Add possibility to change SignatureVersion property, to address a issue related to Content-SHA256 when using Dell S3 custom storage.
@gilmargoulart
Copy link
Author

gilmargoulart commented Jul 15, 2025

The possibility to change this property also on the Genexus IDE will be great!
image

@gilmargoulart gilmargoulart temporarily deployed to kafka-integration-tests July 17, 2025 11:11 — with GitHub Actions Inactive
@gilmargoulart gilmargoulart had a problem deploying to external-storage-tests July 17, 2025 11:11 — with GitHub Actions Failure
Copy link
Collaborator

@claudiamurialdo claudiamurialdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! The PR looks good. We’re following up internally to formalize the change in GeneXus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants