Closed
Description
Description
Hello, I still have this annoying issue on the desktop app v1.0.3, but it occurs only on some indices of one cluster so it’s hard to help you reproduce it.
Is there some place I can find logs to troubleshoot the issue?
Metadata
Metadata
Assignees
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
cars10 commentedon Feb 26, 2024
Elasticvue desktop does not really offer much in terms of logging right now. I attached a version of the current develop branch that has the debug console enabled - you can use the browser console to check for any frontend errors.
elasticvue.zip
Thanks for helping me debug this issue!
cars10 commentedon Feb 27, 2024
You can also do that in version
1.0.4
released yesterday - no need to use the provided debug build.bfontaine commentedon Feb 28, 2024
Thanks! I downloaded 1.0.4 and opened the console, but I don’t see anything. I also don’t see requests in the network tab when I click on "refresh" on any of the views that have it.
This is what I have in the network tab after having navigated multiple times on all views (Home/nodes/shards/etc) and clicked on "refresh" on indices and shards multiple times:

The only requests I see are those made when I switch cluster, but those are HTML/JS/CSS/font/images, not actual requests to ES.
When it freezes, I can move around in the inspecter tab, but I can’t expand the HTML elements anymore:


Here you can see some little arrows that point down in the HTML view but the content of these elements is not shown, because the inspecter is as frozen as the view. In fact, I did alt+tab to write this here and then go back to ElasticVue, and it turned all white:
(I resized it because we don’t need a large screenshot to see that it’s empty)
cars10 commentedon Feb 29, 2024
Hm, i will add more logging for the desktop app.
Can you reproduce the freezing issue when reindexing via the REST page? Or does it only happen on the indices page when using the reindex functionality?
bfontaine commentedon Feb 29, 2024
Wait I found the issue: I went to a small index (2.5k documents) on the "Search" page, it froze but only for ~10s or so, then it showed the list of documents and was almost unresponsive but still "usable". The list of documents was very long because the limit was set to 10k records per page; when I set it back to 20, the page became responsive again. I went to a larger index (100M+ documents) and it didn’t freeze.
The issue seems to be that at one point I set the limit to 10k records per page, probably on a small index, and then this configuration was saved for the whole cluster, so on large indices it probably froze while trying to retrieve all these documents.
Garito commentedon Nov 21, 2024
The frozen app shows up with small amount of huge documents too
To reproduce it save the response of gcloud's documentai of a page with a lot of text and try
cars10 commentedon Nov 21, 2024
Hello @Garito , can you reproduce this with the latest version (1.1.0)?
Garito commentedon Nov 21, 2024
Yes, I can confirm
It is a matter of a huge doc loaded to memory even in the list view (imagine 10, 100, etc)
If I disable the huge field in the view it goes back to "normal"
truncate long fields in search results table, fixes #211
cars10 commentedon Nov 21, 2024
Will be fixed in
1.1.1
. Field value will be truncated after200
characters, you can change this in the settings.Garito commentedon Nov 21, 2024
A suggestion then:
the copy button should copy the complete doc
Garito commentedon Nov 21, 2024
Thanks btw
cars10 commentedon Nov 21, 2024
You can copy a document when you opened it (double click table row, then click copy Icon in editor in modal)
Garito commentedon Nov 21, 2024
I know
I meant that if you truncate the modal too (and you should, imo), the copy button should work as expected and copy the whole doc
BTW, talking about the modal and this huge docs, the colapse icon tends to not show up, at least, at the middle of the doc
cars10 commentedon Nov 22, 2024
The modal will never be truncated. This does not make sense, because a) we need a place to show the whole doc and b) you can edit the doc there. Saving would destroy the data if i only put truncated text in there.
You can toggle the wrap lines option in the modal to help with longer lines
Garito commentedon Nov 22, 2024
I understand but you should try what I tell you about documentai or any other huge doc:

It takes a fair amount of time to load
Beside that, the toggler doesn't always show up there as you can see