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

Error on connection with pg8000 1.12.3 and postgres 13.4 #21

Open
pathunstrom opened this issue Nov 15, 2021 · 2 comments
Open

Error on connection with pg8000 1.12.3 and postgres 13.4 #21

pathunstrom opened this issue Nov 15, 2021 · 2 comments

Comments

@pathunstrom
Copy link

When I tried bootstrapping my app (brand new, empty migrations, empty database) I got a connection error as follows:

Error: Cannot connect to database: Authentication method 10 not recognized by pg8000.

Dug in, found that this is an issue with the version of pg8000 currently in the setup.py: it does not support method 10 at all.

The latest pg8000 does support it, and updating my local requirement to 1.23.0 allowed me to bootstrap.

Will happily report back once I've developed on this application a bit to make sure that this upgraded requirement doesn't cause any obvious issues.

(Also glad to submit a pull request to update the requirement.)

@pathunstrom
Copy link
Author

Adding detail: I was doing this on Python 3.10

@SebastianEndrikat
Copy link

pg8000 version 1.17 (python 3.5.3) was enough to provide the authentication method 10.

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