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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
jutomate
New Member

postgreSQL RDS Not refreshing on power bi web

Hello friends,

 

I have a problem that I can't solve.

I'm trying to connect my postgresql to Power BI without an ODBC connection and I managed to do it.

After I uploaded my dashboard, it doesn't refresh on the web for some unknown reason.

This is the error I am getting - DataSource.Error: An error happened while reading data from the provider: 'The remote certificate is invalid according to the validation procedure.'.

I did a full check and saw that I can't enter a user in Data source credentials and I get an error of - Failed to update data source credentials: An error happened while reading data from the provider: 'The remote certificate is invalid according to the validation procedure.'

So I created a new Cloud connections connection based on the existing connection so I put my user in Not Encrypted mode.

It shows me that the connection is online, but when I try to refresh the data, it gives me the error again - DataSource.Error: An error happened while reading data from the provider: 'The remote certificate is invalid according to the validation procedure.'

I would be very grateful for your help.

1 ACCEPTED SOLUTION

It seems to be a specific problem with postgresql. As soon as I switched to RDS's mysql, the problem was fixed.

View solution in original post

6 REPLIES 6
ibarrau
Super User
Super User

Hi. Working with RDS postgres and powerbi has some tricks for remote certificates at the VM with the Gateway. You need a gateway because of the certificate. You can check this post out in order to follow the process.

https://blog.ladataweb.com.ar/post/187904496250/conectar-power-bi-a-rds-postgres-en-aws

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

If I switch to MySQL it should solve the problem and I won't have to use Gateway?

I'm not sure. But i would say no. The certificate requested here is because you are using AWS RDS database, it's not something about postgres specially. If you are working in an analytics project, the alternatives for non gateway at AWS are redshift and databricks. If you are working for a transactional database I honestly don't know which one could work without a gateway.

I hope that make sense


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

It seems to be a specific problem with postgresql. As soon as I switched to RDS's mysql, the problem was fixed.

 Thanks for the answer.
The problem with Gateway is that I need it to be based on my computer. How can I make it not be based on my desktop?

The best approach here would be turning on an EC3 over AWS. If you are already working with AWS then a VM on the same cloud would help to keep the data flowing fast over the cloud.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors