Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata

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?

Avatar
Abbandona
Autore

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

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

Autore Risposta migliore

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


Avatar
Abbandona

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) ?

Autore

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

Post correlati Risposte Visualizzazioni Attività
0
ago 22
2219
1
ago 25
1300
0
giu 21
2778
0
lug 21
4587
0
mar 24
2510