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

Could not save request to history #78014

Closed
consulthys opened this issue Sep 21, 2020 · 12 comments · Fixed by #93779
Closed

Could not save request to history #78014

consulthys opened this issue Sep 21, 2020 · 12 comments · Fixed by #93779
Labels
enhancement New value added to drive a business result Feature:Console Dev Tools Console Feature Feature:Dev Tools Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@consulthys
Copy link
Contributor

Kibana version:
7.9.1

Elasticsearch version:
7.9.1

Server OS version:
ES Cloud

Browser version:
Google Chrome 85.0.4183.102

Browser OS version:
MacOS 10.13.6

Original install method (e.g. download page, yum, from source, etc.):
ES Cloud

Describe the bug:

I've never cleared my browser storage (and won't because I have plenty of stuff in Dev Tools that I want to keep handy). After a few months of using Dev Tools and performing queries, I got the error message below (see screenshot).

Steps to reproduce:

Not easy/clear to reproduce, but I guess that repeating queries in Dev Tools for a sufficiently long time, would contribute to fill the storage and eventually trigger that message.

Expected behavior:

Not being notified of Storage issues and expect that oldest items in Storage get recycled (LRU cache)

Screenshots (if relevant):

Capture d’écran 2020-09-21 à 15 11 09

Errors in browser console (if relevant):

N/A

Provide logs and/or server output (if relevant):

N/A (see screenshot)

Any additional context:

N/A

@kertal kertal added Feature:Dev Tools Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Sep 23, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

@cjcenizal
Copy link
Contributor

Thanks for raising this @consulthys! I agree that this would be a helpful enhancement and an improvement in the UX. In the meantime, I think you should be able to clear your request history in Console, which will free up some local storage while preserving the content of the Console request pane. Please let me know if this helps!

image

@cjcenizal cjcenizal added enhancement New value added to drive a business result and removed triage_needed labels Sep 23, 2020
@consulthys
Copy link
Contributor Author

Thanks @cjcenizal I'll try that, that'll certainly do for now

@cjcenizal cjcenizal added the Feature:Console Dev Tools Console Feature label Oct 20, 2020
@spinscale
Copy link
Contributor

This still happens in 7.11, but now this gets. displayed for every large request in the dev tools console if you execure more than one huge requests... this looks like this and clutters your console

image

The error message is not really actionable to me from a user perspective.

@consulthys
Copy link
Contributor Author

Thank you @jloleysens !!

@JaoKlintone
Copy link

JaoKlintone commented Jan 18, 2022

Hello,

after we upgraded from 7.13 to 7.16.2 this error keeps coming. Even when there are not a lot of history.

image

Full error:
The quota has been exceeded.
set@https://af7f234811c546039feca730ca4947b9.westeurope.azure.elastic-cloud.com:9243/46307/bundles/plugin/console/8.0.0/console.chunk.1.js:1:201721 addToHistory@https://af7f234811c546039feca730ca4947b9.westeurope.azure.elastic-cloud.com:9243/46307/bundles/plugin/console/8.0.0/console.chunk.1.js:1:200874 Ht/</<@https://af7f234811c546039feca730ca4947b9.westeurope.azure.elastic-cloud.com:9243/46307/bundles/plugin/console/8.0.0/console.chunk.1.js:1:333226 Ht/<@https://af7f234811c546039feca730ca4947b9.westeurope.azure.elastic-cloud.com:9243/46307/bundles/plugin/console/8.0.0/console.chunk.1.js:1:333172

Kind regards,
Dane

@JaoKlintone
Copy link

Hello,

Now I keep getting this message even when I'm modifying the dashboard. All changes I made were not saved!

image

@cjcenizal
Copy link
Contributor

@JaoKlintone Can you try this and tell me if it helps?

  1. Back up your current list of Console requests by copying them into a Google document or something similar.
  2. Clear your browser's local storage (look up steps for your particular browser online).

With local storage cleared, can you verify that you're able to modify the dashboard as expected?

@ducttapecoder-vt
Copy link

Not OP but when I ran into the same issue with 7.16.2, clearing the "Offline website data" in Firefox did clear the commands and the issue for me. Restoring them and re-running did not re-trigger the pop-up.

@ducttapecoder-vt
Copy link

Not OP but when I ran into the same issue with 7.16.2, clearing the "Offline website data" in Firefox did clear the commands and the issue for me. Restoring them and re-running did not re-trigger the pop-up.

Okay I take it back. It started doing it again about an hour and 30-50 commands or so later.

@cjcenizal
Copy link
Contributor

@ducttapecoder-vt Do you have any dashboards with map visualizations embedded in them, by any chance? If so, the error you're seeing could be a side effect, tracked by #98180. This has been fixed in 7.17 (#124293).

@ducttapecoder-vt
Copy link

ducttapecoder-vt commented Feb 22, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Console Dev Tools Console Feature Feature:Dev Tools Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants