- I set an env var via:
export DATABASE_URL=postgres://[USERNAME]:[PASSWORD]@[HOST]:[PORT]/[DATABASE_NAME]?sslmode=require
- I ran
gleam run -m squirrel
- I got this output
Error: Cannot authenticate (no-method)
I ran into an unexpected problem while trying to authenticate with
the Postgres server. This is most definitely a bug!
Please open an issue at
https://github.com/giacomocavalieri/squirrel/issues/new
with some details about what you where doing, including the
following message:
Expected: AuthMethod, Got: BeErrorResponse(Set(dict.from_list([#(Code("XX000"), []), #(Message("connection is insecure (try using `sslmode=require`)"), []), #(Severity("ERROR"), [])])))
I'm trying to connect to a Vercel Postgres - maybe that's the issue?
export DATABASE_URL=postgres://[USERNAME]:[PASSWORD]@[HOST]:[PORT]/[DATABASE_NAME]?sslmode=requiregleam run -m squirrelI'm trying to connect to a Vercel Postgres - maybe that's the issue?