cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DeepakJha23
Frequent Visitor

PostGreSQL schedule refresh error on Power BI service

Hi PowerBI Community,

 

We are using PostGreSQL database on AWS for our dashboard. The refresh on Power BI Desktop is working absolutely fine but when we are setting up the Schedule Refresh on Power BI Service we are getting the below error : 

"Failed to update data source credentials: An error happened while reading data from the provider: 'An attempt was made to access a socket in a way forbidden by its access permissions"

PostGreSQL error.PNG

@Greg_Deckler@amitchandak @edhans 

 

1 ACCEPTED SOLUTION
v-yuaj-msft
Community Support
Community Support

Hi @DeepakJha23 ,

 

Based on your description, I think maybe something wrong in the PostGreSQL, like firewall or TCP/IP.

Here is similar solved case.

Solved: data source credendial update error - Microsoft Power BI Community

Or you can refer to the following link for troubleshooting.

Troubleshooting PostgreSQL Database Connection Issues | The Solarium (wordpress.com)

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

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

View solution in original post

5 REPLIES 5
v-yuaj-msft
Community Support
Community Support

Hi @DeepakJha23 ,

 

Based on your description, I think maybe something wrong in the PostGreSQL, like firewall or TCP/IP.

Here is similar solved case.

Solved: data source credendial update error - Microsoft Power BI Community

Or you can refer to the following link for troubleshooting.

Troubleshooting PostgreSQL Database Connection Issues | The Solarium (wordpress.com)

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

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

View solution in original post

Hi @DeepakJha23 ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your problem.

 

Best Regards,

Yuna

edhans
Super User III
Super User III

I've not used PostGRESQL, so cannot test this, but have you looked at the permissions? This page has more info on how to access. I'm assuming you have the on-prem gateway set up and have established a connection in the online gateway settings?



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

This is a PostGreSQL database in AWS cloud. We are trying to set up the direct refresh without any gateway.

 

Thanks,

Deepak

There is an overview here - they are using an ODBC connection vs the native PostGreSQL connector. AWS Platform Tutorials - Power BI to PostgreSQL Connection (wciconsulting.com)



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.