https://dagster.io/ logo
#ask-community
Title
# ask-community
c

Caio Tavares

01/11/2023, 1:33 PM
Hey all! We've rotated the dagster external DB password, updated the secret which has the
postgresql-password
but Dagit/Daemon are unable to connect to the database:
Copy code
failed: FATAL:  password authentication failed for user "<user>"
Is there anything else I should be looking at?
m

Martin Picard

01/11/2023, 1:43 PM
Sounds like you are in k8s? restart the dagit and daemon pods
c

Caio Tavares

01/11/2023, 1:44 PM
We did. We even exec'd into the Dagit pod passing a
sleep
command rather than running dagit cli and the secret is there and correct but still unable to connect to the database.
d

daniel

01/11/2023, 1:49 PM
How did you check that the secret is there and correct? Did you look at the value of the environment variable?
Does running psql with that host and password and user from the dagit pod work?
c

Caio Tavares

01/11/2023, 1:54 PM
We are testing it now using psql, one sec
c

Christopher Avila

01/11/2023, 2:08 PM
surprise
\n
encoded in the password facepalm
🎉 1
homer disappear 2
😶‍🌫️ 1
4 Views