Skip to content
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] When a call to OpenSearch back-end times out, Dashboards fails with an Access Denied (403) #2320

Open
dblock opened this issue Sep 12, 2022 · 1 comment
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@dblock
Copy link
Member

dblock commented Sep 12, 2022

Describe the bug

Users get a 403 "Authorization Exception" on some operation in OpenSearch Dashboards. However, the back-end is timing out causing a socket hangup.

[2022-06-24T09:56:06,640][ERROR][c.a.c.e.ReusableRequestHandlerListWithThrottling] [a027a2d9842c375dc47abe3f6e77f0e3] Exception flushing output for request-145983615 url=/xyz/_search?timeout=60000ms&ignore_unavailable=true&rest_total_hits_as_int=true&ignore_throttled=true&preference=1655992403037 context = org.eclipse.jetty.server.AsyncContinuation@f042f7a@REDISPATCHED,resumed with exception org.eclipse.jetty.io.EofException

Expected behavior
Server-side timeouts should not translate into 403s.

OpenSearch Version
All versions.

Dashboards Version
All versions.

@bandinib-amzn
Copy link
Member

According to this post: https://stackoverflow.com/questions/35063566/org-eclipse-jetty-io-eofexception-early-eof-thrown-while-uploading-large-file, the org.eclipse.jetty.io.EofException during flushing output for request means the response body content was unable to finish flushing to the network as the connection was terminated. And because of connection termination we are seeing socket hang up in kibana.log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants