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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
RDKleinJan
Frequent Visitor

Timeout error on gateway refresh, MySQL database

Hello, I've been working on a new dataset recently that dives deeper into the data of our application, the dashboards are also ready.

The only thing that I'm running into at the moment is the automated refresh.

Inside PowerBI Desktop, the refresh runs fine. The file is about 260MB.


When I publish the dataset to the service and connect it to the gateway however, the refresh fails every time. 

PowerBI throws some kind of timeout error; "TThe XML for Analysis request timed out before it was completed. Timeout value 7200 sec."

 

I have tried to adjust the source in Desktop with a command timeout of 120 minutes, but after publishing  in the service and attempting a refresh it gave no juice.

 

I'm wondering on what end i should try to troubleshoot next, is it on the end of the database? Or should I try to change some configs in the gateway settings?

 

Thanks for reading 🙂

3 REPLIES 3
GilbertQ
Super User
Super User

Hi @RDKleinJan 

 

The timeouts will be done on the Data Source Connection.


There is an overall timeout of 2hours for all dataset refreshes. So you would need to find a way to get the data in quicker than 2 hours if no incremental refreshing.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

GilbertQ
Super User
Super User

Hi @RDKleinJan 


That would appear to be on your data source connection. It times out after 2 hours.

 

This might have to be with your gateway if the connection between your gateway and the data source is slow. Also if your gateway server has slow bandwidth that could also be an issue.

 

What you could look into is configuring Incremental refreshing which would then load the data incrementally. I would suggest creating monthly partitions so it will load the data in monthly portions instead of it all together.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi Gilbert, thank you for your reply!

 

I will look into incrementally refreshing the dataset. I am however unsure if it's a viable solution, seeing as I am dealing with a "living" database, where tens of thousands of rows change each day.  But I will try and see what sticks 🙂

 

Do you happen to know if there is any way to increase the timeout value on the gateway's end, maybe inside of a config file somewhere?


Thank you for your help

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric 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.