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
Super User

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.

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!