Hello, I have a HAOS installation running with various add-ons, including Node-RED and Nginx. When I deploy from Node-RED, I get the error mentioned in the subject.
It seems this happens when the size of the request exceeds the configured limit on the server. I would need to add "client_max_body_size 100M;" to the configuration, but there is no option to set this within the settings or an nginx.conf file to modify.
Any ideas?
do you use a reverse proxy?
this issue has been fixed long ago, there is “client_max_body_size 512m;”
I just ran into this problem today. This original post is months old, but this may help somebody else too. This was one of the first places I looked and had to keep digging.
Follow the instructions in the link below and you’ll be fine.
You need to create a file. I spent too much time looking for the file, which isn’t there. YOU have to create a file. BTW you have to create it. ![]()
I dug around the file system for an embarrassingly long time.
Basically:
Create the file.
Put the the max body size line in the file
Set NGINX Proxy-Configuration-Customize: active=true
Restart NGINX Proxy.
It popped an error on me on the restart of NGINX, I think I was too happy on the restart “button”. I tested Node Red after and it was good to go. I rebooted HA and everything came up fine. Tested Node Red afterwards (added nodes and Deployed) and it didn’t complain.
I used the same location as the author. I copied and pasted the filename the author used. Then copied and pasted the max body line in as well.