wave icon indicating copy to clipboard operation
wave copied to clipboard

Fixes Error "Request Entity Too Large"

Open munishchouhan opened this issue 1 year ago • 2 comments

This PR will add a method to truncate condafile to 14kb if it is bigger than that

munishchouhan avatar Aug 01 '24 13:08 munishchouhan

tested on local successfully, will test on dev now

munishchouhan avatar Aug 01 '24 14:08 munishchouhan

Tested successfully in dev:

(base) munish.chouhan@Munishs-MacBook-Pro wave_testing % wave --conda-file ./enty_too_large/conda.yml --wave-endpoint https://wave.dev-tower.net --tower-endpoint https://dev-tower.net/api  --tower-token token

wave.dev-tower.net/wt/xxxxxxxxx/wave/build/dev:bcc_pipeline--ca4b5736a54f533f
(base) munish.chouhan@Munishs-MacBook-Pro wave_testing % docker pull wave.dev-tower.net/wt/xxxxxxxx/wave/build/dev:bcc_pipeline--ca4b5736a54f533f
bcc_pipeline--ca4b5736a54f533f: Pulling from wt/xxxxxxxxxx/wave/build/dev
6360b3717211: Pull complete 
2ec3f7ad9b3c: Pull complete 
7716ca300600: Pull complete 
4f4fb700ef54: Pull complete 
7834e8feb904: Pull complete 
5ac55ff04773: Pull complete 
77c7a930b7cc: Pull complete 
c864db06f68b: Pull complete 
f628b9cff8d1: Pull complete 
ba94160d36b7: Pull complete 
6f63df1cb8dd: Pull complete 
cc9406b62369: Pull complete 
4f906f85cd2a: Downloading [=====>                                             ]  189.2MB/1.651GB

munishchouhan avatar Aug 01 '24 15:08 munishchouhan

Surreal have exposed config variables to modify HTTP request size limit https://github.com/surrealdb/surrealdb/pull/4670

It will be released in v 2.0.0

munishchouhan avatar Sep 10 '24 08:09 munishchouhan

Better to solve this via Surreal SQL statement

pditommaso avatar Sep 23 '24 21:09 pditommaso