dyn365-ce-vsts-tasks icon indicating copy to clipboard operation
dyn365-ce-vsts-tasks copied to clipboard

Time-out issue while deploying the CRM solution

Open itsDineshv opened this issue 3 years ago • 6 comments

Import of solution with timeout error, increased the value to 1200 still getting time out error

image

itsDineshv avatar Sep 08 '20 11:09 itsDineshv

Hello Wael

Please help me here.

itsDineshv avatar Sep 17 '20 14:09 itsDineshv

Check the "Solutions History" log in the CE env to see how long the import is actually taking. You can find this in the Settings area. Some imports just take awhile to run.

Also, when asking for help, it is better to provide more detail about the parms you are using. The more info you provide, the easier it is to provide help.

mattp65 avatar Sep 17 '20 16:09 mattp65

found no issues with the output log file.

image

2020-09-07T06:34:42.3090668Z ##[section]Starting: Import Solution 2020-09-07T06:34:42.3202415Z ============================================================================== 2020-09-07T06:34:42.3202753Z Task : Import Solution 2020-09-07T06:34:42.3203053Z Description : Import a Solution into a PowerApps/CDS/Dynamics 365 environment 2020-09-07T06:34:42.3203340Z Version : 12.0.5 2020-09-07T06:34:42.3203547Z Author : Wael Hamze 2020-09-07T06:34:42.3204018Z Help : This task invokes ImportSolutionRequest 2020-09-07T06:34:42.3204579Z ============================================================================== 2020-09-07T06:34:46.9105210Z Importing Solution: D:\a\r1\a_EDU Build definition\drop\Sprint20091.zip 2020-09-07T06:34:46.9118405Z Solution Zip Size: 9.73 KB 2020-09-07T06:34:47.0337386Z Solution Unique Name: Sprint20091, Version: 1.0.0.0 2020-09-07T06:34:47.2255508Z Sprint20091 not currently installed. 2020-09-07T06:49:57.4813489Z ##[error]Import Timeout Exceeded: 900 2020-09-07T06:49:57.5842497Z ##[section]Finishing: Import Solution

itsDineshv avatar Sep 21 '20 11:09 itsDineshv

I had to increase the timeout to over 40 minutes, our solution that takes less than 5 minutes to install manually takes over 34 minutes when installing using this tool.

don-matese avatar Oct 22 '20 21:10 don-matese

Same here.. We often get timeout. During deployment D365 is practically not usable which is not the case when solution is manually imported. And it takes much longer with from the Devops..

dominicusmento avatar Nov 04 '20 09:11 dominicusmento

@don-matese @tomidix have you compared the import time in solution history of the UI import verus the import via SDK API using the tools?

@itsDineshv you need to increase the time out.

WaelHamze avatar Nov 16 '20 19:11 WaelHamze