Skip to Content
Menu
This question has been flagged
1 Reply
2050 Views

Hi Team,

I currently have a proxy setup with Apache to Odoo.  Listening on port 80 with ssl enabled, which then has a simple proxy to Odoo 8069.

ProxyPreserveHost On
ProxyPass / http://127.0.0.1:8069/
ProxyPassReverse / http://127.0.0.1:8069/

When I try to add attachments to any of my records in Odoo, is the attachment is under 100KB, the attachments adds within a second.  However if it is goes much beyond this size, it will simply just hang and Odoo will continue to show the waiting message for ever.

However if I do the same thing when directly going through Odoo on port 8069,  I can add attachments of all sizes (even up to 5BM), there are no issues....  Therefore it appears to be an issue with Apache....

If I look at the developer tools in Crome, I see the following error:


"POST https://prd.zforms.net/web/binary/upload_attachment 413 (Request Entity Too Large)"

When I look this error up online it mentions that it may be to do with the LimitRequestBody directorive, but I tried to increase this and restart Apache, not no luck.

Any thoughts on what I could be checking?

Thanks,
Damien

Avatar
Discard
Author Best Answer

Ok, It seams that I have resolved this issue, by removing the recommended Apache settings under the 443 virtual host:


< Location />

SSLRequireSSL On
SSLVerifyClient optional
SSLVerifyDepth 1
SSLOptions +StdEnvVars +StrictRequire

</Location>


Once I removed these, it started working again.

Regards,
Damien

Avatar
Discard