Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3533 Представления

This happens randomly after seconds, hours or even days. Restarting odoo, nginx and postgres services doesn't fix it.


My Odoo log says:

2022-03-01 17:47:58,573 3273 INFO odoo longpolling: 192.168.x.y - - [2022-03-01 17:47:58] "POST /longpolling/poll HTTP/1.0" 500 140 71.253036


Ningx log indicates:

2022/03/01 12:48:06 [error] 2836#2836: *106422 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.x.y, server: ..., request: "POST /longpolling/poll HTTP/1.1", upstream: "http://127.0.0.1:8072/longpolling/poll", host: "...", referrer: ".../web"


And PostgreSQL log indicates:

2022-03-01 12:53:13.212 -05 [3442] odoo@odoo ERROR:  40001: could not serialize access due to concurrent update
2022-03-01 12:53:13.212 -05 [3442] odoo@odoo LOCATION: ExecUpdate, nodeModifyTable.c:1442
2022-03-01 12:53:13.212 -05 [3442] odoo@odoo STATEMENT: UPDATE "bus_presence" SET "last_poll"='2022-03-01 17:53:13',"last_presence"='2022-03-01 17:52:28.073075' WHERE id IN (50)


Odoo is running on Ubuntu 20.04 with 16 GB of RAM and 4 vCPU.


I've configured 5 workers, but I've tried with 0 and 1 and the result is the same - although with 1 worker odoo behaves more stable.


I've also tried changing multi_accept values on nginx with the same results.


Any idea?

Аватар
Отменить
Автор

Just in case, this is about Odoo 14 Community Edition.

Hi,
Did you tried to access with difference browser, or, clearing the cache?

Автор Лучший ответ

Thank you for your answer Altela,

I've tried all this:

  • Only one open session open per user (that is, in one tab)

  • Tried Chrome, Firefox and Edge

  • Deleting cookies

But the issue persist :S


Аватар
Отменить

The same issue in my case

2022/03/01 12:48:06 [error] 2836#2836: *106422 connect() failed (111: Connection refused)

Did you set up the firewall (ufw) of linux to accept port 8069 and 8072 (longpolling) ?

Автор

Yup, UFW is correctly configured and both ports are open (besides, this issue happens randomically)

Related Posts Ответы Просмотры Активность
0
авг. 22
2186
1
авг. 25
1236
0
июн. 21
2733
0
июл. 21
4528
0
мар. 24
2455