-
Notifications
You must be signed in to change notification settings - Fork 48
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
[BUG] Create Snapshot Repository (Attached to S3 Bucket) Fails, when HTTP Compression Enabled #124
Comments
Replying on behalf of @omamoo (all names replaced): Request:
Response:
|
@Xtansia - we encountered the same issue when trying to update the cluster settings.
The generated request was:
And the response:
with an opensearch client created without http compression, the request was successfull |
Do any requests at all ever work with compression enabled? It sounds like it might just be an issue of sigv4 + compression. |
Hi @wbeckler, |
Any updates? |
@omamoo I don't think anyone is working on this, please contribute! |
There were some changes to how the sigv4 signing works, committed in the main branch but not yet released. Maybe give it a try to see if it magically fixed this issue? |
What is the bug?
While trying to create Elasticsearch repository with client that HTTP compression enabled, the HTTP requests fails with 401 response, saying that the authentication failed.
How can one reproduce the bug?
What is the expected behavior?
Snapshot repository created, HTTP status 200 (OK)
What is your host/environment?
Windows 11 - Client
Opensearch Version: 2.3 (latest)
Opensearch Service Software Version: R20221114-P1
Do you have any screenshots?
Do you have any additional context?
Just to be clear, the following procedure works without HTTP compression enabled, there is no error with the credentials at all.
Here is the client creation as code:
The text was updated successfully, but these errors were encountered: