コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3023 ビュー

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  

アバター
破棄
最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
2
3月 24
3995
1
10月 22
3771
1
7月 24
2137
1
3月 24
12339
1
12月 23
43382