Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hello. Newby here..
I have nginx proxy_pass directed to port 8069. Also another proxy pass for location /longpolling points to 8072. I think it's all fine on the nginx side. The problem is (I think) that longpolling is not working at all.
This is the output from firebug console:
POST https://example.com/longpolling/poll 502 Bad Gateway 2ms
I think my problem is the same as this guy's:
I can telnet to 8069 but not to 8072.
$ telnet 127.0.0.1 8072
telnet: Unable to connect to remote host: Connection refused
Nobody responded to him and I don't really understand his own answer. This package 'psycogreen' I already had installed.
I pasted my odoo-server.conf file contents here: http://pastebin.com/rSKaLxSV
Maybe you fixed it already, but seeing i have been looking for an answer and found a fix i'll post it.
This made my Odoo 10 Enterprise installation work again:
1. Install the Python dependencies with the following command:
sudo apt-get install python-dateutil python-docutils python-feedparser python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi poppler-utils python-pip python-pypdf python-passlib python-decorator gcc python-dev mc bzr python-setuptools python-markupsafe python-reportlab-accel python-zsi python-yaml python-argparse python-openssl python-egenix-mxdatetime python-usb python-serial lptools make python-pydot python-psutil python-paramiko poppler-utils python-pdftools antiword python-requests python-xlsxwriter python-suds python-psycogreen python-ofxparse python-gevent .
(Credits: https://www.getopenerp.com/install-odoo-10-on-ubuntu-16-04/ ).
2. Make sure in your config you have workers = x
X should be a number > 0
3. If you are running behind a reverse proxy (apache / nginx), make sure your config file has the following line:
proxy_mode = True
Hope this helps others who are having a similar issue
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/23/16, 5:10 AM|
|Seen: 2201 times|
|Last updated: 6/16/17, 3:44 AM|