Bug: HttpConnectionError: Failed to buffer the request body: length limit exceeded
Describe the bug
I am running to into the following error here and then:
HttpConnectionError: Failed to buffer the request body: length limit exceeded
Steps to reproduce
Unfortunately I can't replicate it to provide an example. It seems random, even for relatively small requests.
Expected behaviour
Should not throw error, or should throw error only for very large requests. Maybe an option to be able to increase the limit...
SurrealDB version
1.5.1
JavaScript SDK version
^1.0.0-beta.7
Contact Details
No response
Is there an existing issue for this?
- [X] I have searched the existing issues
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
From the error message, I have to assume that the request or response body was too big for http client to handle. Maybe some of your queries return a large number of rows? how big is your database?
I run into this error when running surreal import with a database > 4GB
Our database is about 500 GB. The size of the request was small though. Perhaps the database does its own batching? It might take some stress testing over an extended period of time to run into it
Closing as stale. If this issue persists please do open a new issue.