N
Novu11mo ago
vindos

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
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View
vindos
vindos11mo ago
Here`s the log
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View
vindos
vindos11mo ago
Tried(
Novu_Bot
Novu_Bot11mo ago
@vindos, you just advanced to level 2!
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View
vindos
vindos11mo ago
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(
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View
vindos
vindos11mo ago
Still need your help, guys... We cant reduce the template(
Pawan Jain
Pawan Jain11mo ago
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?
vindos
vindos11mo ago
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
vindos
vindos11mo ago
And it`s the request being sent
vindos
vindos11mo ago
envs
No description
Dmitry Abramov
Dmitry Abramov11mo ago
any updates?
Pawan Jain
Pawan Jain11mo ago
Hi @vindos and @alfa4ok Can you please try with production value of NODE_ENV variable
Dmitry Abramov
Dmitry Abramov11mo ago
didn't work