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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Connect to Heroku PostgreSQL

I'm trying to connect to a PostgreSQL database hosted on Heroku in conjunction with a Rails website. I've installed Npgsql with the GAC option, entered the connection info into Power BI, and received the "Server certificate was not accepted" error. However, as the database is managed by Heroku, I don't see a way to copy the "server.crt" file to my computer. I have successfully connected to the database using pgAdmin. Has anyone had success connecting Power BI to Heroku PostgreSQL?

 

Thanks!

2 REPLIES 2
v-huizhn-msft
Employee
Employee

Hi @Anonymous,

I am not specific about Heroku. After research, there is an article for your reference. There must be someone else have better advice.

In addition, clear all cache by clicking file->Options and Settings->Options, select the "Clear Cache". And connect your PostgreSQL again, check if it works fine.

1.PNG

Best Regards,
Angelia

Anonymous
Not applicable

Angelia,

Thanks for the reply and research! I did find that article, but I'm not sure what to do with the info there. The sticking point seems to be the SSL authentication. I tried adding the suggested `sslmode=require` query parameter to the url, but then got connection errors and didn't make it to the authentication.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.