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
117 stars 56 forks source link

Azure DevOps pipeline task "MSCRM Package Deployer" throws always timeout exception #127

Closed Red2099 closed 4 years ago

Red2099 commented 4 years ago

Hi,

i'm using the devops pipeline task "MSCRM Package Deployer". Importing a solution for the first time everything works fine but if it is an upgrade for an existing solution i'm always getting a timeout exception but the import process completed on the crm system successfully.

The import process of the new solution version takes ~ 5 min. and the deletion process of the previous solution version takes ~ 9 min. The total deployment time is ~ 14 min.

If i change the crm connection timeout of the task to 20 min. it seems that the system waits the whole timespan and then throws the timeout exception.

Deleting Holding Solution FAILED : : **** TimeoutException - DeleteAndPromote : Delete and Promote Solution to New version(DeleteAndPromoteSolutionRequest) |=> The request channel timed out while waiting for a reply after 00:20:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.

Hope you can help me!

WaelHamze commented 4 years ago

@Red2099 Do you get the same behaviour using the package deployer UI?

Have you tried to use the tasks to import and upgrade the solution instead?

WaelHamze commented 4 years ago

@Red2099 is this working for you now?

WaelHamze commented 4 years ago

Closing this due to inactivity. Please re-open if you still have issue.