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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
JeffreyVH
Frequent Visitor

Power BI Gateway timeout change

Hi all,

I want to lower the Power BI Gateway Timeout, with my Pro license it is now 2 hours. I want this reduced to 10 minutes.
Most actions will refresh within 2 minutes, and now if fails we are stuck waiting 2 hours before our next manual refresh.

Edit: Extra information, we want this change because we get this error message DM_GWPipeline_Gateway_TimeoutError. We have 2 gateways running in a cluster, the machines are equiped with i7 12th gen CPU's and 32GB RAM and NVME SSD 512GB W11.
The error message happens randomly 1-2 times a day, when it happens we are stuck and need to wait 2 hours. Cancelling during the 2 hours doesn't work.

8 REPLIES 8
lbendlin
Super User
Super User

You will need to implement your own polling mechanism to see which refreshes are in flight for more than 10 minutes and then you need to issue a cancellation request for these. NOTE: That cancellation request may or may not be honored depending on how far the refresh has already progressed.  NOTE2:  This is not primarily a gateway related issue.

We do a refresh every 10 minutes 24/7, somehow it fails 1-2 a day. Then we are stuck and need to wait for 2 hours because the cancellation token isn't honored. Even when we are only 20 minutes into the refresh.

Edit: DM_GWPipeline_Gateway_TimeoutError is the error we see in the log.
Edit 2: Normally the models refresh in 60 seconds or less.

Have you considered using Direct Query instead?

The data needs to be pulled from an MySQL database, can we get that using DirectQuery?

Sure, use the MariaDB connector

 

Solved: Direct Query MySQL - Microsoft Fabric Community

Going to give this a try, thank you for all the suggestions. I see why you are the number 1 in all the charts 😉.

Anonymous
Not applicable

Hi @JeffreyVH 

 

It seems that you have gotten a solution. Could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.

 

Best Regards    

Zhengdong Xu

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

I am still working on the solution but this takes some time, adjusting dashboard and updating gateways. So not 100% sure yet if it works.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.