ERROR: SCRAM authentication failed DETAIL: unable to decrypt password from pool_passwd HINT: verify the valid pool_key exists #72645
Labels
pgpool
solved
stale
15 days without activity
tech-issues
The user has a technical issue about an application
triage
Triage is needed
Name and Version
bitname/pgpool all
What architecture are you using?
None
What steps will reproduce the bug?
Start the container as root, run the scram-sha-256 authentication command, and connect to pgpool through
psql -h 127.0.0.1 -p 5432 -U postgres
What is the expected behavior?
When you run
psql -h 127.0.0.1 -p 5432 -U postgres
to connect to pgpool, the connection succeedsWhat do you see instead?
The following message is displayed when you run
psql -h 127.0.0.1 -p 5432 -U postgres
to connect to pgpoolAdditional information
In the
pgpool_generate_password_file
function of libpgpool.sh, chmod 0600 "$PGPOOLKEYFILE" is used to set the permission for the key file to be too small. As a result, the key file cannot be read normally. If the authentication fails, you can set the permission of the KEY through "chmod 0644"The text was updated successfully, but these errors were encountered: