Skip to content

Connecting to SSL via database pool #119

Closed

Description

@songololo

It would be nice to use the new SSL support in database pools.

SSL appears to work for regular connections, but when using with database pools I get an error resembling:

asyncpg.exceptions.InvalidAuthorizationSpecificationError: no pg_hba.conf entry for host "n.n.n.n", user "my_user", database "my_db", SSL off

Activity

  1. self-assigned this
    on Apr 6, 2017
  2. 1st1 commented on Apr 6, 2017

    @1st1
    Member

    Yes, it's an asyngpg bug. I'll work on a fix later today and we'll release 0.10.1 soon.

  3. added a commit that references this issue on Apr 6, 2017
    fc32269
  4. added a commit that references this issue on Apr 6, 2017
    b89fb45
  5. songololo commented on Apr 6, 2017

    @songololo
    Author

    Awesome, thank you.

  6. songololo commented on Apr 7, 2017

    @songololo
    Author

    Works a charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions