We are getting below error when running pg_basebackup for a database.
pg_basebackup: error: FATAL: no pg_hba.conf entry for replication connection from host "127.0.0.1", user "postgres", SSL on
FATAL: no pg_hba.conf entry for replication connection from host "127.0.0.1", user "postgres", SSL off -e