-
Notifications
You must be signed in to change notification settings - Fork 391
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
asyncpg.connect: ValueError: invalid literal for int() with base 10 #1151
Comments
The DSN is a URL and so all parts must be explicitly quoted with |
came here via #1159 with the same problem, even if quoted some special characters are not allowed it seems |
Quoted does not mean surrounded by double quotes but rather percent encoded. DSN is a URL, so you must use |
Oh, right, looks like plain |
the issue with a local PostgreSQL install?:
uvloop?:
My connection string looks like this:
Im connecting as follows:
The error i am getting is complaining about my password (that is what its highlighting anyway)
My password has '!' and another non-ascii character in it in a few places - i wonder if that may be causing it or if its how i have created the connection string above?
Alternatively, the stack trace seems to indicate it wants a port - but I'm using an Azure Postgres Flexible Server - im not sure there is a port available for that...(with psycopg driver, it wasnt necessary to specify a port.)
Any help would be apricated
The text was updated successfully, but these errors were encountered: