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

i use odoo enterprise V18 and i face an issue with notification icon related to message notification and record update notification 
i must refresh the page to receive the notification also refresh to mark it as read
does any one face this issue before and how can i solve it
notice i use nginx and already checked conf file for both nginx and service conf and both is correct 

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

You're probably missing on the gevent conf

Câu trả lời hay nhất

Hii,
Odoo must run with longpolling:

--longpolling-port=8072

Check with:

ss -ltnp | grep 8072

Nginx must have this block:

location /longpolling/ {

    proxy_pass http://127.0.0.1:8072/;

    proxy_set_header Host $host;

    proxy_set_header X-Real-IP $remote_addr;

    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

    proxy_read_timeout 720s;

}

i hope it is use full

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 25
1186
1
thg 6 25
2443
0
thg 5 25
925
0
thg 12 24
4
1
thg 8 15
5990