XrmToolBox
XrmToolBox copied to clipboard
Request to increase HTTP timeout limit in XRMToolBox
Dear XRMToolBox Developer,
I am encountering timeout issues when trying to execute FetchXML queries against our Dynamics 365 instance. The system shows an error message indicating that the HTTP request has exceeded the default timeout of 00:02:00 (2 minutes).
Error message details: "La richiesta HTTP a https://lifestyledesign-api.crm4.dynamics.com/XRMServices/2011/Organization.svc?wsdl?SdkClientVersion=9.2.49.116)T ha superato il timeout assegnato di 00:02:00."
My query is attempting to retrieve marketing form submissions for multiple forms (Milano Design Week 2025 events), and while it executes correctly with small data sets, it fails with timeout errors when trying to retrieve the complete dataset.
I've looked through the settings in XRMToolBox but cannot find an option to increase the HTTP request timeout. Could you please:
- Let me know if there's an existing way to increase the timeout setting that I might have missed
- Consider adding this configuration option in a future release if it doesn't exist yet
- Suggest any workarounds or best practices for handling larger queries within the current timeout constraints
I understand that the default 2-minute timeout is likely a safety measure, but for some legitimate complex queries against large datasets, a configurable timeout would be extremely helpful.
Thank you for your assistance and for developing this useful tool.
Best regards,
- Deployment: Online
- DB Version: 9.2.25032.214
- Connection Controls Version: 1.2024.9.59
- XrmToolBox Version: 1.2024.9.69
It is possible to change the timeout in the connection, but not in any specific tool. Check here: https://jonasr.app/xtb-increase-timeout/
Hi,
Thanks for the video. I tried to follow the same steps, but when I double-click the connection, I don’t get the same window where the timeout can be changed (see my attached video).
Could you please confirm:
Which version of XRMToolBox you're using?
If any specific setting needs to be enabled to show that window?
Thanks!
https://github.com/user-attachments/assets/ceab2274-e5b1-4856-a542-c561b7a6f5bd
Right, it seems that the OOB connection (from MS) does not support the same details. Now I'm always using this type of connection:
Can you try that?
I tried creating a new connection using OAuth!MFA as you suggested. I can get to the screen where I set the timeout now, but it doesn't seem to keep the changes saved. If I set 10sec for example, do next to the end and and end, if I reopen the connection it stays set to the initial 2sec. Pretty strange...
Hi, It's true timeout configuration is not exposed when using Microsoft Login Control. And there seems a bug prevents from storing changed timeout value.
I will work on this but cannot give an ETA
Hi, Thanks for the confirmation, I will wait patiently then. Best