Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3691 Lượt xem

I am a newbie to odoo. I have installed odoo on a cloud server using the installscript from github together with ssl and nginx reverse proxy. Now that all seems to be working fine, except the users are always offline , even though they have logged into the database. I dont understand if there is any isuue with the nginx reverse proxy or some configuration  in the odoo.

Odoo Version 16.0


The following is configured in the nginx .conf file,

location / {

    proxy_pass http://127.0.0.1:8069;

    proxy_redirect off;

}

location /longpolling {

    proxy_pass http://127.0.0.1:8072;

}

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

In Odoo 16, the longpolling replaced with websocket as you can here, Check the following Odoo Documentation for how to configure NGINX for Odoo 16.

Ảnh đại diện
Huỷ bỏ

I already use Websocket but users still appear offline. And I have to refresh the browser to get the message from another user. It's not realtime, how must I solve it?