Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Error connecting to PostreSQL

Hi all,

 

I am trying to connect to a PostgreSQL database hosted by AWS - I enter all the correct server/port/database details and username/password, but constantly get the following error message back:

 

"An error happened while reading data from the provider: 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'"

 

I am using Power BI desktop, Version: 2.99.862.0 64-bit (November 2021).

 

I can connect to the database in question via DBeaver, HeidiSQL or PGAdmin 4 so am unsure as to why this is happening?

 

I have looked over previous posts regarding connection issues but can't spot any that fit this specific issue.

 

Separate issue: previously I have connected via a remote desktop link to a different environment, but now when I try to log into Power BI there I can enter my username/email but the enter password window is blank?

 

Thanks,

3 REPLIES 3
SanjayPraveen
Frequent Visitor

Hey, have you fixed this issue? Is yes, how did you solve this?

 

Thanks

amitchandak
Super User
Super User

@Anonymous , Please makse sure you not missing driver, certificate or any other step

 

https://community.powerbi.com/t5/Power-Query/Connecting-to-PostgresSQL-hosted-on-AWS-RDS/td-p/135666

 

https://dataintoresults.com/post/powerbi-and-postgresql-ssl-lets-encrypt-and-gateway/
https://niftit.com/connecting-power-bi-to-postgresql/

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Anonymous
Not applicable

@amitchandak 

 

I have tried these steps previously and I still get the same error.

 

The database is hosted by a 3rd party, in order to access the database via PG Admin or DBeaver we have to use a different server string (port and database remain the same).

 

If I use this different string, I get the below:

"An error happened while reading data from the provider: 'The remote certificate is invalid according to the validation procedure.'"

 

This implies (to me) that I am missing a certificate in order to confirm that my connection is legitimate?

 

Thanks fo the earlier response.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.