EnterpriseDB / repmgr

A lightweight replication manager for PostgreSQL (Postgres)
https://repmgr.org/
Other
1.58k stars 252 forks source link

repmgr - failed: fe_sendauth: no password supplied #845

Open Bhagi33 opened 9 months ago

Bhagi33 commented 9 months ago

Hi Team,

i have deployed postgres HA(with repmgr) in k8s container , but repmgr primary and secondary not able to register as expected. below is the error i am getting. can you please suggest.

repmgr primary register ERROR: connection to database failed DETAIL: connection to server at "x.x.x.x", port 30011 failed: fe_sendauth: no password supplied

DETAIL: attempted to connect using: user=repmgr connect_timeout=2 dbname=repmgr host=x.x.x.x port=30011 fallback_application_name=repmgr options=-csearch_path=

pg_hba.conf#

image image