Odoo Help


Discus Not Realtime Error

on 11/17/16, 9:19 PM 927 views

Hello anyone help plz

i have error with discus & live chat it not work properly

The discus could not show the message after i load the page plz see the video


The live chat not work after successful installation plz help 

On 11/18/16, 3:01 AM

Im done with this code below and it work now :) i hop that im right

~# vim /etc/rc.local

add 2 line bellow at the end of rc.local

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8070

then save

if the rc.local doesn't exsit just create rc.local file then run commend:

chmod +x /etc/rc.localsh /etc/rc.local

add following code to rc.local file.

#!/bin/sh -e## rc.local## This script is executed at the end of each multiuser runlevel.

# Make sure that the script will "exit 0" on success or any other# value on error.

## In order to enable or disable this script just change the execution# bits.

## By default this script does nothing.

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8069iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8070exit 0

Thanh Loyal
On 11/18/16, 2:33 AM

Hi Chau Le,

Chat runs on a separated service on port 8072 (default), on a linux system, you need --workers parameter in your startup script to get it works:

odoo.py --addons-path=addons --db_user=odoo --workers=3

And also, it seems to be that you are running Odoo under nginx proxy, so please forward /longpolling request to "longpolling-port":


location /longpolling {

And to make sure longpolling is the cause, pleas turn on F12 mode of your browser and verify that requests to /longpolling fail

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 11/17/16, 9:19 PM
Seen: 927 times
Last updated: 5/11/17, 3:05 PM