Skip to content

postgres fetch request times out for some passwords due to underlying library asyncpg #7

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

Closed
treysidechain opened this issue Jul 27, 2022 · 1 comment

Comments

@treysidechain
Copy link

Requests to a postgres data source can fail if a data source config entry's url uses the format postgresql://<user>:<password>@<host>/<db>, specifically the password field may fail to be parsed by the underlying library asyncpg. There's an issue in the asyncpg repo which helped me figure out that resolving this (if not using the connection_params field) requires changing the format to postgresql://<host>/<db>?user=<user>&password=<password> as referenced in this comment.

No code changes necessary but I think noting that bug in the docs could potentially save other folks some debugging time

@filipermit
Copy link
Contributor

Hey @treysidechain - Thank you for this valuable feedback. I have gone ahead and updated the documentation to reflect this issue and the possible outcome. You can check out the pull request here: #8

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