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] Failed to fetch error on Discover page #6802

Open
saketmht opened this issue May 16, 2024 · 1 comment
Open

[BUG] Failed to fetch error on Discover page #6802

saketmht opened this issue May 16, 2024 · 1 comment
Assignees
Labels
bug Something isn't working needs more info Requires more information from poster

Comments

@saketmht
Copy link

Describe the bug

We have OS and OSD setup on k8s with Keycloak. The OSD Discover page seems to work fine for around 30 mins before it starts giving failed to fetch error when using the search. We have to refresh the page everytime to get it back to normal and after a while again the same issue happens.

TypeError: Failed to fetch
    at Fetch._callee3$ (https://osd.vmi.system.shoe.v8o.com/34/bundles/core/core.entry.js:15:583674)
    at tryCatch (https://osd.vmi.system.shoe.v8o.com/34/bundles/plugin/indexManagementDashboards/indexManagementDashboards.plugin.js:1:138399)
    at Generator.invoke [as _invoke] (https://osd.vmi.system.shoe.v8o.com/34/bundles/plugin/indexManagementDashboards/indexManagementDashboards.plugin.js:1:142350)
    at Generator.throw (https://osd.vmi.system.shoe.v8o.com/34/bundles/plugin/indexManagementDashboards/indexManagementDashboards.plugin.js:1:139538)
    at fetch_asyncGeneratorStep (https://osd.vmi.system.shoe.v8o.com/34/bundles/core/core.entry.js:15:577704)
    at _throw (https://osd.vmi.system.shoe.v8o.com/34/bundles/core/core.entry.js:15:578112)

This issue is mostly seen with larger indices.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Discover page
  2. Perform some searches
  3. After 30-60mins
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

OpenSearch Version
2.3.0

Dashboards Version
2.3.0

Plugins

Please list all plugins currently enabled.

Screenshots

image (4)

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Browser and version [e.g. 22]

Additional context

Add any other context about the problem here.

@saketmht saketmht added bug Something isn't working untriaged labels May 16, 2024
@huyaboo
Copy link
Member

huyaboo commented May 21, 2024

So after the 30 minutes, if you refreshed the page, are you forced to reauthenticate? If yes, its likely that your session has timed out.

@huyaboo huyaboo added needs more info Requires more information from poster and removed untriaged labels May 21, 2024
@huyaboo huyaboo self-assigned this May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs more info Requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants