تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3671 أدوات العرض

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;

}

الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال

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?