Anirudhaagrawal opened a new issue #16000:
URL: https://github.com/apache/airflow/issues/16000
```
kc logs airflow-run-airflow-xxx
BACKEND=postgresql
DB_HOST=123@{{postgres_host}}
DB_PORT=5432
....................
ERROR! Maximum number of retries (20) reached.
Last check result:
$ run_nc '123@{{postgres_host}}' '5432'
Traceback (most recent call last):
File "<string>", line 1, in <module>
socket.gaierror: [Errno -2] Name or service not known
Can't parse as an IP address
```
My password for external Postgres RDS contained '@123' at the end which got
appended to the host of the DB due to some bug. One can notice in the logs, the
DB_HOST has an unwanted 123@ in the front of it
DB_HOST=**123@**{{postgres_host}}. I removed '@' character from the password
and it worked fine.
One can easily reproduce this by using a password that contains the '@'
character in it.
```
data:
metadataConnection:
user: {{postgres_airflow_username}}
pass: {{postgres_airflow_password}}
protocol: postgresql
host: {{postgres_host}}
port: 5432
db: {{postgres_airflow_dbname}}
```
Expected behavior:
Migrations should run irrespective if the Postgres password contains an @
character or not.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]