Issue: Connection Issues with Power BI Desktop and Digital Ocean Hosted Database
I am having trouble accessing reports I have created using Power BI (PBI) Desktop and its PostgreSQL connector with DirectQuery for auto refreshing through PowerBI.com. I believe this is due to our Digital Ocean (DO) hosted database only allowing trusted sources to access it, as my office is whitelisted as a trusted source, allowing the reports to work locally on PBI Desktop.
Questions
- Is there a way to whitelist the IP that the Power BI web service uses?
- Is it possible to create an on-premises gateway that will act as an intermediate access point between PowerBI.com and the Digital Ocean DB?
Errors and What I’ve Tried
When I have published to my workspace on PowerBI.com from PBI Desktop and try to view the report I get the following error:
The data source {database} is missing credentials and cannot be accessed
After reviewing the Data Source Credentials settings and making sure the credentials match exactly what I was using in PBI Desktop, I still get the following error:
Failed to update data source credentials: 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'
This indicates that the connection is not permitted, as it takes the timeout value of 20s to receive that error.
Any help or advice is appreciated.