Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3019 Prikazi

When i login as Odoo-User (Administrator, CommercialManager,...), my session get lost every minute :


2022-10-01 09:24:10,331 14975 INFO ? odoo\.service\.server:\ HTTP\ service\ \(werkzeug\)\ running\ through\ socket\ activation\
2022\-10\-01\ 09:24:10,342\ 14975\ INFO\ \?\ odoo\.sql_db:\ Connection\ to\ the\ database\ failed\
2022\-10\-01\ 09:24:10,342\ 14975\ CRITICAL\ \?\ odoo\.service\.server:\ Failed\ to\ initialize\ database\ `my\-oerp\-master\-1178879`\.\
Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/home/odoo/src/odoo/odoo/service/server\.py",\ line\ 1194,\ in\ preload_registries
\ \ \ \ registry\ =\ Registry\.new\(dbname,\ update_module=update_module\)
\ \ File\ "/home/odoo/src/odoo/odoo/modules/registry\.py",\ line\ 75,\ in\ new
\ \ \ \ registry\.init\(db_name\)
\ \ File\ "/home/odoo/src/odoo/odoo/modules/registry\.py",\ line\ 144,\ in\ init
\ \ \ \ with\ closing\(self\.cursor\(\)\)\ as\ cr:
\ \ File\ "/home/odoo/src/odoo/odoo/modules/registry\.py",\ line\ 563,\ in\ cursor
\ \ \ \ return\ self\._db\.cursor\(\)
\ \ File\ "/home/odoo/src/odoo/odoo/sql_db\.py",\ line\ 669,\ in\ cursor
\ \ \ \ return\ Cursor\(self\.__pool,\ self\.dbname,\ self\.dsn,\ serialized=serialized\)
\ \ File\ "/home/odoo/src/odoo/odoo/sql_db\.py",\ line\ 196,\ in\ __init__
\ \ \ \ self\._cnx\ =\ pool\.borrow\(dsn\)
\ \ File\ "/home/odoo/src/odoo/odoo/sql_db\.py",\ line\ 552,\ in\ _locked
\ \ \ \ return\ fun\(self,\ \*args,\ \*\*kwargs\)
\ \ File\ "/home/odoo/src/odoo/odoo/sql_db\.py",\ line\ 620,\ in\ borrow
\ \ \ \ \*\*connection_info\)
\ \ File\ "/usr/local/lib/python3\.6/dist\-packages/psycopg2/__init__.py", line 130, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: FATAL: too many connections for role "p_my_oerp_master_1178879"

2022-10-01 09:24:10,382 14975 INFO ? odoo.http: HTTP Configuring static files
2022-10-01 09:24:10,390 14975 INFO my-oerp-master-1178879 odoo.sql_db: Connection to the database failed
2022-10-01 09:24:10,391 14975 INFO my-oerp-master-1178879 odoo.http: Generating nondb routing
2022-10-01 09:24:10,405 14975 INFO None odoo.sql_db: Connection to the database failed  

Avatar
Opusti
Best Answer

Be sure that each user account is unique and no other members are logging in by the same user name

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
mar. 24
3987
1
okt. 22
3771
1
jul. 24
2136
1
mar. 24
12338
1
dec. 23
43379