WaelHamze / dyn365-ce-vsts-tasks

VSTS Extension for Dynamics 365 Customer Engagement
https://marketplace.visualstudio.com/items?itemName=WaelHamze.xrm-ci-framework-build-tasks
GNU General Public License v3.0
115 stars 54 forks source link

Time-out issue while deploying the CRM solution #209

Open itsDineshv opened 4 years ago

itsDineshv commented 4 years ago

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

image

itsDineshv commented 3 years ago

Hello Wael

Please help me here.

mattp65 commented 3 years ago

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.

itsDineshv commented 3 years ago

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

don-matese commented 3 years ago

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.

dominicusmento commented 3 years ago

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

WaelHamze commented 3 years ago

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