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

invalid_authorization_specification when connecting to postgres database #590

Open
2 tasks done
pieveee opened this issue May 8, 2023 · 2 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@pieveee
Copy link

pieveee commented May 8, 2023

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

Trying to connect to the database results in:

16:53:21.498 [error] Postgrex.Protocol (#PID<0.137.0>) failed to connect: ** (Postgrex.Error) FATAL 28000 (invalid_authorization_specification) pg_hba.conf rejects connection for host "192.168.251.150", user "postgres", database "postgres", no encryption

Expected behavior

It should be possible to adjust postgres connection parameters for the docker container. But they don't seem to be documented. Before I invest too much time in reverse engineering the code base I am looking for some help.

PS: I am working on improvements to bring our Kubernetes edition of supabase into a stable state. So help is appreciated. :)

@pieveee pieveee added the bug Something isn't working label May 8, 2023
@filipecabaco
Copy link
Contributor

Hi @pieveee

Can you provide more information about your postgres database setup?

@usamahzaheer
Copy link

@pieveee hey i'm getting this issue too, have this been resolved, just checking?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants