Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

invalid target_session_attrs value: ""read-write"" in "cybertec/pgwatch2-webui:latest". #674

@pashagolub

Description

@pashagolub
webui_1                      | 2023-08-16 15:40:04,927 ERROR 1 failed to execute "select 1 as x" on datastore
webui_1                      | Traceback (most recent call last):
webui_1                      |   File "/pgwatch2/webpy/datadb.py", line 45, in execute
webui_1                      |     conn = getConnection(connection_string_metrics) if on_metric_store else getConnection(conn_str)
webui_1                      |   File "/pgwatch2/webpy/datadb.py", line 35, in getConnection
webui_1                      |     conn = psycopg2.connect(conn_str if conn_str else connection_string)    # default to configDB
webui_1                      |   File "/usr/local/lib/python3.10/dist-packages/psycopg2/init.py", line 122, in connect
webui_1                      |     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
webui_1                      | psycopg2.OperationalError: invalid target_session_attrs value: ""read-write""
webui_1                      |
webui_1                      | 2023-08-16 15:40:04,927 WARNING 1 config DB connection test failed: invalid target_session_attrs value: ""read-write""

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions