Request entity too large error
Hey guys!
Have some problems with self-hosted novu. While trying to lode up a email html template got
{"statusCode":413,"message":"request entity too large"}
The template weights 106kbs
But, it works in the cloud novu web.novu.co
Where can we look for the problem?
Ty for answer)17 Replies
You need to add a line on your webserver configuration
I don't know Which one 😂
Search
entity too large 413 <your webserver>
well
With your logs
Seems like your payload is too large
The template
You can try to minify the template
This May help you #Send large HTML as payload in the trigger eventTried(
@vindos, you just advanced to level 2!
If it works in the cloud I think it's most likely your webserver configuration or the novu configuration maybe idk never used novu self-hosted
<#1072767323619995689> similar
<#1074826866411716730>
Yep, but seems like
{"statusCode":413,"message":"request entity too large"}
is not nginx`s answer.
And the payload weight seems to be hardcoded in api/src.
So i dont know where to look for the problem(Reduces the template is the only solution if nothing works
Still need your help, guys... We cant reduce the template(
Hi @vindos
I have few questions to understand your issue:-
1. If you are self hosting novu, what is your novu version?
2. Have you configured storage services like s3 properly?
3. What are the steps in your workflow?
4. By
The template weights 106kbs
, you mean template content size in 106KB?
5, What are you sending in payload? any attachment?1. 16.4
2. no storages
3. trigger -> digest -> email
4. Yes, 106 KB of html
5. No, just html, no attachments, no images
There is our compose and envs
envs
any updates?
Hi @vindos and @alfa4ok
Can you please try with
production
value of NODE_ENV
variabledidn't work