-
Notifications
You must be signed in to change notification settings - Fork 233
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
Supabase db dump results in wrong password error #2325
Comments
+1 |
Sorry for the late reply. I can't reproduce this issue locally. Is it still happening to anyone's projects? |
Yes, I do have 2 projects; this happens on both of them. |
Yup, I have the issue on one of my projects. |
+1 |
Me too |
same here |
Any updates on this? |
Same issue here: Dumping data from remote database... |
having the same issue also |
me too |
If you are on Windows, try pasting the password with ctrl+v instead of typing #1760 (comment) |
having the same issue on my local machine. |
I had the same issue and it turns out that when you have the URI link with [YOUR_PASSWORD] you need to delete the square brackets too! Silly error, but easy to make considering the way the whole links looks. I'd consider to remove the square brackets and just leave YOUR_PASSWORD to avoid confusion. @sweatybridge |
I'm not using the [], but is not working stil |
My issue was my password had |
same issue here |
Even scaping I'm still getting that the door is invalid:
|
I am having the same issue |
In my case I am using SqlAlchemy and I was fighting with psycopg2 and asyncpg for a while. I eventually stopped trying asyncpg and in my main.py i still had a line trying async calls. This worked @app.on_event("startup")
def init_db():
with engine.connect() as connection:
Base.metadata.create_all(bind=connection) This was causing the wrong password error: @app.on_event("startup")
async def init_db():
async with engine.begin() as conn:
await conn.run_sync(Base.metadata.create_all) |
I am also having the same issue |
Describe the bug
supabase db dump results in error: pg_dump: error: connection to server at "aws-0-us-east-1.pooler.supabase.com" (44.216.29.125), port 5432 failed: error received from server in SCRAM exchange: Wrong password
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Supabase db dump should authenticate successfully.
Screenshots
n/a
System information
Rerun the failing command with
--create-ticket
flag.SERVICE IMAGE │ LOCAL │ LINKED
─────────────────────────┼──────────────────────┼────────────
supabase/postgres │ 15.1.1.44 │ 15.1.1.44
supabase/gotrue │ v2.151.0 │ v2.151.0
postgrest/postgrest │ v12.0.2 │ v12.0.2
supabase/realtime │ v2.28.32 │ -
supabase/storage-api │ v1.2.1 │ v1.2.1
supabase/edge-runtime │ v1.49.0 │ -
supabase/studio │ 20240506-2976cd6 │ -
supabase/postgres-meta │ v0.80.0 │ -
supabase/logflare │ 1.4.0 │ -
bitnami/pgbouncer │ 1.20.1-debian-11-r39 │ -
darthsim/imgproxy │ v3.8.0 │ -
Additional context
I found a post with a similar issue where the recommended advice was to reset the password, which resolved the issue for me initially (sorry I couldn't find that post), however the same issue occurred a day later. It is not a suitable solution for us to rotate passwords every time this occurs.
If I run supabase db dump -p [password] then it works.
The text was updated successfully, but these errors were encountered: