Coder Social home page Coder Social logo

Comments (22)

BahaMagi avatar BahaMagi commented on July 22, 2024 3

Any news on this? Not being able to use the CLI is somewhat limiting....

from cli.

chanmathew avatar chanmathew commented on July 22, 2024 2

I'm having similar issue - 0d53919556f041ea831728258b4be8e0

This is the error i get:

failed to connect to postgres: failed to connect to `host=aws-0-us-east-1.pooler.supabase.com user=postgres.<REDACTED> database=postgres`: failed SASL auth (invalid SCRAM server-final-message received from server)

Update on this - turns out updating my DB password that was generated by supabase (a shorter one) seems to have fixed it. Perhaps the one I generated previously didn't work due to password length? Hope this helps others running into this issue.

from cli.

lelandmiller avatar lelandmiller commented on July 22, 2024 2

Hey! I was having the same issue even on latest. @chanmathew's tip to use the password generated by supabase worked for me as well. I wonder if it was related to special characters in my password, # in particular.

from cli.

mdotmoment11 avatar mdotmoment11 commented on July 22, 2024 1

same issue. tried the linking and upgraded to latest supabase (1.154.1): crash id: 1b6bae554170469282c03ca74fbabe1e

Just went to UI and changed the pw (recommended by supabase). works now

from cli.

sweatybridge avatar sweatybridge commented on July 22, 2024

Could you send a bug report with the following command

npx supabase@beta link --project-ref <ref> --create-ticket

After that, share the crash ID here so we can retrieve the diagnostics information.

from cli.

BahaMagi avatar BahaMagi commented on July 22, 2024

Thank you for looking into this!
Ran the above command and got

a7c1098a188f4f24a5ab2b776cd28574

as crash ID

from cli.

medclans avatar medclans commented on July 22, 2024

Same steps as above and below is the crash ID
13addb48fe85407d9654266ccbc6dd7a

from cli.

chanmathew avatar chanmathew commented on July 22, 2024

I'm having similar issue - 0d53919556f041ea831728258b4be8e0

This is the error i get:

failed to connect to postgres: failed to connect to `host=aws-0-us-east-1.pooler.supabase.com user=postgres.<REDACTED> database=postgres`: failed SASL auth (invalid SCRAM server-final-message received from server)

from cli.

JTCorrin avatar JTCorrin commented on July 22, 2024

Same issue:

9a5bea6ec9a842b8ace7d5e0620265fb

from cli.

JTCorrin avatar JTCorrin commented on July 22, 2024

The way I'm getting around it now is to link and deploy via github actions. The password I am using to link locally is correct (but failing)

from cli.

henry2man avatar henry2man commented on July 22, 2024

@BahaMagi Please check your Supabase CLI version. I was on 1.113.3 and updated to recent 1.148.6 ... and the issue was gone. NOTE: I reset the password before updating the CLI.

Maybe this is related with IPv4 deprecation: https://github.com/orgs/supabase/discussions/17817

from cli.

kathleen-saz avatar kathleen-saz commented on July 22, 2024

Same issue: fd6fce781a134bc7ab3fa6da0c414401

from cli.

zolotokrylin avatar zolotokrylin commented on July 22, 2024

same issue here :(

from cli.

sweatybridge avatar sweatybridge commented on July 22, 2024

Could you try the latest version?

npx supabase@latest link

It's probably due to an implementation difference between transaction mode of pgbouncer and supavisor which we recently rolled out on port 6543.

from cli.

sweatybridge avatar sweatybridge commented on July 22, 2024

I tested on macOS with passwords containing special char # and up to 50 characters in length but still unable to reproduce. Will try win10 later this week

from cli.

jventura7 avatar jventura7 commented on July 22, 2024

getting same issue
crash id: d635a8a3279f4815940d0f920744c9c2

from cli.

mdotmoment11 avatar mdotmoment11 commented on July 22, 2024

same issue. tried the linking and upgraded to latest supabase (1.154.1):
crash id: 1b6bae554170469282c03ca74fbabe1e

from cli.

sweatybridge avatar sweatybridge commented on July 22, 2024

Closing as it seems resolvable by pw reset.

@mdotmoment11 Do you remember if your previous password had any special characters in it?

from cli.

chanmathew avatar chanmathew commented on July 22, 2024

Just to add, i do notice that in the CLI, it doesn't seem to automatically pickup your password even if logged in, and I had to explicitly export my password to my shell and then run supabase link.

from cli.

mdotmoment11 avatar mdotmoment11 commented on July 22, 2024

from cli.

p-shubh avatar p-shubh commented on July 22, 2024

Hey every one i also have the same issue dii you got any solution

[error] failed to initialize database, got error failed to connect to host=aws-0-us-east-1.pooler.supabase.com user=postgres.axwqqoifubxkipmilrmm database=postgres: failed SASL auth (invalid SCRAM server-final-message received from server)

from cli.

p-shubh avatar p-shubh commented on July 22, 2024

I got resolved this by reset the db password of supabase

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.