Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
5140 Переглядів

Hello, I have a problem with livechat in odoo 16, this component  is well installed, but does'nt work after instaling let'sencript, When debuging with google chrom i have this messages: 

 GET https://mysiteweb.com//im_livechat/external_lib.js net::ERR_ABORTED 404
mysite-web.com/:261 GET https://mysite-web.com//im_livechat/loader/2 net::ERR_ABORTED 404
mysite-web.com/:259 GET https://mysite-web.com//im_livechat/external_lib.css net::ERR_ABORTED 404 

What to do? thank you in advanced, 

Аватар
Відмінити
Найкраща відповідь

I had same problem and I solved it. You can check my solution steps.

https://www.odoo.com/forum/help-1/im-livechat-is-not-working-on-odoo-server-the-chat-button-doesn-t-appear-at-all-147143

Аватар
Відмінити
Автор Найкраща відповідь

Hello and thank you for your response, 

Yes i used enginx and i did what you had recommand, but still not working. 

The message error chown in the browser said that the links to livechat repertory  was not found . 

I'm keeping looking for the solution. 

Best regards.


Аватар
Відмінити
Найкраща відповідь

Hi, 

If you are using reverse proxy  in front of Odoo, like nginx or apache, you need to add your configuration to nginx or apache config file.  Check the below links for more details.

Odoo Live chat.  

HTTPS

Also you need to add the below to Odoo config file.

proxy_mode = True


Аватар
Відмінити
Автор

Hello and thanks for you're replay,
I resolved the problem by adding this lines from the official Odoo website (V 16):
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}

# Redirect websocket requests to odoo gevent port
location /websocket {
proxy_pass http://odoochat;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
}
And I've add this two lines in my odoo.conf

max_cron_threads = 1
workers = 4

And now It's Working !

I had the same problem and this was the solution.

Related Posts Відповіді Переглядів Дія
0
серп. 24
2173
0
бер. 23
1604
0
лист. 23
1140
1
трав. 25
2211
1
квіт. 25
3256