-
Notifications
You must be signed in to change notification settings - Fork 729
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
Get an warning: ResponseError: too_long_frame_exception #1025
Comments
Hello! Furthermore, you should use the same major version of Elasticsearch in the client, you can do that by running:
|
We understand that this might be important for you, but this issue has been automatically marked as stale because it has not had recent activity either from our end or yours. Note: in the past months we have built a new client, that has just landed in master. If you want to open an issue or a pr for the legacy client, you should do that in https://github.com/elastic/elasticsearch-js-legacy |
Hello @BernardIsibor
Please let me know |
In my case, that error happened because the API was trying to set the scroll_id in the queryString as part of the URL, and that has limit. I solved the problem changing from:
To:
That way you can prevent the API code to try to set the scroll_id in the queryString, using the POST body instead. |
very impressive |
Hi all, I encountered with a "too_long_frame_exception" warning when using scroll to fetch data from Elastic.
Issue
Here is the query to get data in 1 month:
Run in Kibana and It returns 13384 records. I think this amount is not big at all.
However when using npm @elastic/elasticsearch in nodejs, it shows an error:
With a smaller range, it works fine.
E.g:
"gte": "2019-11-17T17:00:00.000Z",
"lte": "2019-11-27T17:00:00.000Z"
Expected behaviour
Just 20k data, this package should be working probably. I even try to use scroll with scroll time: 30s, size: 100.
Please help to find any solution for this issue. Thank all.
Your Environment
The text was updated successfully, but these errors were encountered: