N
Neon6mo ago
conscious-sapphire

Unable to connect to NeonDB

I’m currently experiencing a connection issue with my Neon PostgreSQL instance. Since this morning, my application is failing to connect to the database with the following error:
(psycopg2.OperationalError) could not translate host name "ep-shy-grass-a42wchrp-pooler.us-east-1.aws.neon.tech" to address: No such host is known.
(psycopg2.OperationalError) could not translate host name "ep-shy-grass-a42wchrp-pooler.us-east-1.aws.neon.tech" to address: No such host is known.
What I’ve Tried 1. Verified the connection string from the Neon dashboard – no typos found. 2. Attempted to remove the -pooler suffix and connect directly to ep-shy-grass-a42wchrp.us-east-1.aws.neon.tech, but still failed. 3. Upgraded psycopg2 to the latest version. 4. My internet connection is stable, and other external services are reachable. Is there a known issue affecting this region or host? Or has there been a recent change in host naming or DNS setup that could be affecting resolution? Would appreciate any guidance on how to restore connectivity.
3 Replies
foreign-sapphire
foreign-sapphire6mo ago
I can't see anything on our side affecting this are you able to query the database within the console? can you connect over psql?
conscious-sapphire
conscious-sapphireOP6mo ago
Yesterday i was not able to do so, but today its working fine. Exactly don't know what was causing the issue, but my problem is solved.
other-emerald
other-emerald6mo ago
I suspect this is DNS related. Some users have had success with enabling private DNS.

Did you find this page helpful?