Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am having datasets failing a refresh due to the following error:
Hide | On demand | 11/21/2017, 2:27:14 PM | 11/21/2017, 2:29:30 PM | Failed | The gateway operation has been cancelled explicitly by the user or from a timeout. | |||
|
This has been going on for a while now and here's what I've tried:
Does anyone have a solution to this? Do I need to collect a Fiddler trace when I attempt to do a manual refresh? The only problem is that the refreshes can take fifteen minutes or more to actually complete for this dataset. Again, it DOES refresh successfully in the late evening and the early morning (usually), but the middle of the business day it encounters problems.
Thanks!
Best regards,
Derek
Hi @jderekc
Based on your details below if it works at the start or the end of the day, it would appear to me that there are bandwidth issues during the day when everyone is at work and using the internet connection.
Due to there being not bandwidth during the peak hours, it has to send that same volume of data, but with a slower connection this takes longer, which then causes the timeouts to happen.
What I would suggest doing, is on your SQL Server Connection in the Power BI Desktop file, set the timeout to 40 minutes and test. Hopefully that will give it enough time to upload the data before timing out.
Hi guavaq!
Thanks for the recommendation. My dataset is set to 300 minutes for timeout (excessive I am sure). I'll check all of the queries again to see if any don't have a timeout specified. Let me know if there is anything else I can try in the meantime.
Thanks!
Regards,
Derek
I set all of my queries to timeout a minimum of 180 minutes after the start of execution. That should be plenty. But it is worth noting that the refreshes usually timeout within minutes of starting, so this should never have been an issue to begin with. I am going to monitor it over the next few days to see if issue persists now that I've made changes.
Thanks!
Regards,
Derek
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.