R
Runtipi2mo ago
Scarwxk

Can't run correctly Odoo with Nginx reverse proxy

Hi ! I am trying to run an Odoo instance on a RunTipi service. For the reverse proxy I want to configure Nginx however, I am having problems with certain Odoo features, in particular longpolling, PDF which is poorly generated (visibly requests to static resources) which does not seem to be correctly redirected by the proxy. Has anyone here already managed to configure this type of setup (Odoo on RunTipi + Nginx in bare-metal) and have any advice or an example of a config so that everything is functional, including longpolling requests? Thank you in advance for your help!
1 Reply
Scarwxk
ScarwxkOP2mo ago
RPC_ERROR
Odoo Server Error

Occured on odoo.tipi.local on model spreadsheet.dashboard and id 3 on 2024-11-19 22:18:39 GMT

[...........]
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
RPC_ERROR
at makeErrorFromResponse (https://odoo.tipi.local/web/assets/f2e889e/web.assets_web.min.js:3091:163)
at XMLHttpRequest.<anonymous> (https://odoo.tipi.local/web/assets/f2e889e/web.assets_web.min.js:3096:13)
RPC_ERROR
Odoo Server Error

Occured on odoo.tipi.local on model spreadsheet.dashboard and id 3 on 2024-11-19 22:18:39 GMT

[...........]
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
RPC_ERROR
at makeErrorFromResponse (https://odoo.tipi.local/web/assets/f2e889e/web.assets_web.min.js:3091:163)
at XMLHttpRequest.<anonymous> (https://odoo.tipi.local/web/assets/f2e889e/web.assets_web.min.js:3096:13)
Want results from more Discord servers?
Add your server