[bitnami/pgbouncer] Do not forward client_addr
Name and Version
bitnami/pgbouncer:1
What is the problem this feature will solve?
Trying to login from a remote host.
So, for context, when I try to login to database directly, such as through:
'postgres://contra_api:SomePassword@[DATABASE_IP]:5432/contra'
it works, but when I try to login through pgbouncer, I am getting error about invalid credentials, i.e.
'postgres://contra_api:SomePassword@contra-pgbouncer:6432/contra'
The error is: "psql: FATAL: password authentication failed"
As far as I understand, the issue here is that we forward client_addr, though I am not 100% confident.
What is the feature you are proposing to solve the problem?
Do not forward client's IP address.
What alternatives have you considered?
No response
Thanks @gajus
Could you share a docker-compose and/or some instructions to reproduce the issue? I tried to reproduce it with the docker-compose-password.yaml that we distribute, running the following command but I can not reproduce it:
$ docker run -it --name psql --rm docker.io/bitnami/postgresql psql -h host.docker.internal -p 6432
We are going to transfer this issue to bitnami/containers
In order to unify the approaches followed in Bitnami containers and Bitnami charts, we are moving some issues in bitnami/bitnami-docker-<container> repositories to bitnami/containers.
Please follow bitnami/containers to keep you updated about the latest bitnami images.
More information here: https://blog.bitnami.com/2022/07/new-source-of-truth-bitnami-containers.html
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.