This question has been flagged
1 Reply
4882 Views

Hello

I'm trying to use the live_chat module (installed im_livechat), but it does not show up on the website frontend. The manu for Livechat-Support shows up and I can call the link https://clixmedia.ch/livechat/ -- all is fine. I also see the website_livechat.channel_list_page  and im_livechat.loader on site -- all looks good.

If I do a testing on a local installation it works like charm. Is there any configuration in system parameter or dns needed?

I already did: Settings > Parameters > System Parameters, and edited the value of "web.base.url". In my case everything was correct, except the "s" in "https" was missing.

Suggestions are welcome, I than you 
Avatar
Discard

Did you solve it, I am facing a similar issue.

Best Answer

This can a be problem with how you have configured Odoo. I had the same issue after configuring SSL and fixed it by doing below changes;

Once SSL is enabled using nginx, Odoo must be operational in multiprocessing mode in order to enable Live chat feature as Live Chat request redirected to longpolling port in nginx site configuration file.

example:

    # Handle longpoll requests
    location /longpolling {
        proxy_pass http://odoochat;
    }

when above is configured I also had to configure /etc/odoo.conf file as something like below.

[options]
; This is the password that allows database operations:
;admin_passwd = my_admin_passwd
db_host = False
db_port = False
db_user = odoo13
db_password = False
addons_path = /opt/odoo13/odoo/addons,/opt/odoo13/odoo-custom-addons
proxy_mode = True
xmlrpc_interface = 127.0.0.1
netrpc_interface = 127.0.0.1
max_cron_threads = 1
workers = 8

note "workers", it must be set depending on your hardware configuration.

when SSL is enabled try issuing below command in terminal

sudo netstat -tulpn | grep 8072

if configuration is ok, you should see something like below;

tcp        0      0 127.0.0.1:8072          0.0.0.0:*               LISTEN      8223/python3

more info can be found at https://www.odoo.com/documentation/13.0/setup/deploy.html
Avatar
Discard