You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of v2.19.1, when using the OpenSearch Dashboards REST API and zstd is in the Accept-Encoding headers, the response from the OpenSearch Dashboards API hangs.
Have seen this breaking when using traefik as a proxy which seems to automatically insert zstd into the header. This means that OpenSearch Dashboards will not work with traefik.
To Reproduce
Steps to reproduce the behavior:
With developer tools open in your favourite browser, load OpenSearch Dashboards
Inspect the network requests and look for the request to /api/core/capabilities
Right click the request, copy as curl
At the command prompt, paste the curl command. Observe that this returns as normal
Modify the curl command and add zstd to the Accept-Encoding header
Note that with this modified request the API hangs and does not return a response
Expected behavior
Here is the request working without zstd in the Accept-Encoding (truncated for brevity):
Describe the bug
As of v2.19.1, when using the OpenSearch Dashboards REST API and
zstd
is in theAccept-Encoding
headers, the response from the OpenSearch Dashboards API hangs.This seems very similar to opensearch-project/OpenSearch#17339
Have seen this breaking when using traefik as a proxy which seems to automatically insert zstd into the header. This means that OpenSearch Dashboards will not work with traefik.
To Reproduce
Steps to reproduce the behavior:
/api/core/capabilities
zstd
to theAccept-Encoding
headerExpected behavior
Here is the request working without zstd in the Accept-Encoding (truncated for brevity):
And when zstd is added:
=> (REQUEST HANGS, NO RESPONSE)
OpenSearch Version
2.19.1
Dashboards Version
2.19.1
Plugins
Host/Environment (please complete the following information):
Additional context
This looks like this was fixed in OpenSearch API itself in 2.19.1 but the problem still appears to persist in the OpenSearch Dashboards API
The text was updated successfully, but these errors were encountered: