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

Connecting to SSL via database pool #119

Closed
songololo opened this issue Apr 6, 2017 · 3 comments
Closed

Connecting to SSL via database pool #119

songololo opened this issue Apr 6, 2017 · 3 comments
Assignees

Comments

@songololo
Copy link

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
@1st1 1st1 self-assigned this Apr 6, 2017
@1st1
Copy link
Member

1st1 commented Apr 6, 2017

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

elprans added a commit that referenced this issue Apr 6, 2017
elprans added a commit that referenced this issue Apr 6, 2017
@songololo
Copy link
Author

Awesome, thank you.

@songololo
Copy link
Author

Works a charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants