Skip to content

Unable to use SSL-required database #69

@reesericci

Description

@reesericci

Setting the environment variable PGSSLMODE="verify-full" isn't doing the trick to get squirrel to connect to my Xata-hosted database which requires SSL:

% export PGSSLMODE="verify-full"
% gleam run -m squirrel

Compiled in 0.04s
Running squirrel.main
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([#(Message("SSL required"), [])])))

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions