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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Dataset not refreshing automatically

I have a problem with schedulled refreshing on https://app.powerbi.com/  I have 2 connections to PostgreSQL databases. On PowerBI Desktop version everything works well. However, when I am trying to connect these 2 databases appearing error. I entered correct credentials. Also, I have on-premises gatewat installed on my PC personal mode version. 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. 

Error 123.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

This error message indicates this is a connection problem between Gateway and remote server.

 

To test if the gateway has access to all the required ports, please run the network ports test. The test results list all the servers, ports, and IP addresses that your gateway requires. If the test results display "Closed" for any ports as shown in the error message, ensure that your network environment didn't block those connections. You might need to contact your network admin to open the required ports.

 

Generally, this problem is related to connectivity to Azure Service bus or a block port in your firewall, please test connectivity to Azure Service bus following the guide in this article and check your firewall with this .

 

A firewall might be blocking the connections that the Azure Service Bus makes to the Azure data centers. If that's the case, unblock the IP addresses for your region for those data centers. You can get a list of Azure IP addresses from this website. To find the current data center region you're in, see Set the data center region.

 

 

Hope it helps,

 

Best Regards,
Community Support Team _ Caitlyn

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

6 REPLIES 6
Anonymous
Not applicable

Hi @Anonymous ,

 

This error message indicates this is a connection problem between Gateway and remote server.

 

To test if the gateway has access to all the required ports, please run the network ports test. The test results list all the servers, ports, and IP addresses that your gateway requires. If the test results display "Closed" for any ports as shown in the error message, ensure that your network environment didn't block those connections. You might need to contact your network admin to open the required ports.

 

Generally, this problem is related to connectivity to Azure Service bus or a block port in your firewall, please test connectivity to Azure Service bus following the guide in this article and check your firewall with this .

 

A firewall might be blocking the connections that the Azure Service Bus makes to the Azure data centers. If that's the case, unblock the IP addresses for your region for those data centers. You can get a list of Azure IP addresses from this website. To find the current data center region you're in, see Set the data center region.

 

 

Hope it helps,

 

Best Regards,
Community Support Team _ Caitlyn

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

lbendlin
Super User
Super User

Are you using a gateway?  Can the gateway cluster members see the database server and the database?

Anonymous
Not applicable

Yes, I use personal gateway. Nobody else can see the the database.

Is the gateway installed on the same PC as Power BI desktop?

Anonymous
Not applicable

Yes.

any kind of firewall installed on your PC that would prevent the gateway app from being able to reach the database? 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.