Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

password censored before login. three asterisks #91

Open
dylan-shipwell opened this issue Jan 23, 2024 · 2 comments
Open

password censored before login. three asterisks #91

dylan-shipwell opened this issue Jan 23, 2024 · 2 comments

Comments

@dylan-shipwell
Copy link

I have a funny case of

sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "myhostnameis" (my.ip.is.00), port 5432 failed: FATAL:  password authentication failed for user "myloginname"

if I run stellar with a debugger python3 -m pdb -m stellar ... i can see that psycopg2/__init__.py:connect haw a dsn where "password=***"

my stellar.yml file is plain, and the init worked fine

#stellar.yml
project_name: 'mynameis'
tracked_databases: ['mydbnameis']
url: 'postgresql+psycopg2://myloginname:mypassis@myhostnameis/postgres'
stellar_url: 'postgresql+psycopg2://myloginname:mypassis@myhostnameis/stellar_data'

in a debugger i can also see that stellar's self.config has the password in plain text. super weird.

@bhpark1013
Copy link

i also experience same issue

@bh981013
Copy link

you can solve this temporarily via downgrading SQLAlchemy==1.4.0 via pip install sqlalchemy==1.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants