Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTimeoutError when connecting to server #557
Comments
|
Which authentication method do you use there? |
|
Simple authentication with password via connection string |
|
I changed password for user and the problem is gone. I don't know, is it worth to debug this issue deeper. |
the issue with a local PostgreSQL install?: No SaaS
uvloop?: Yes, both with and without uvloop
Hi! I ran into a very strange behaviour of asyncpg. I can connect to a server with Postgresql 10.6 via psql, psycopg2, aoipg, but not asyncpg. The code is very simple:
and get exception:
This exception is raised after 60 seconds. I tired different versions of asyncpg, and the behaviour does not change. Right now i'm building library from source in hope to get some additional debug info. I'm nearly sure, that it is not a network issue (other libraries / utilities go well).
I checked logs on postgresql, and have a 'canceling authentication due to timeout' for every connection attempt. By the way, i have another instance of postgresql on a server (different port), and it works well.
I will appreciate any advice, how to debug this problem. Thanks.