Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two nights in a row we got timeouts on the SetVersion task #297

Open
JoehannusApg opened this issue Feb 1, 2024 · 0 comments
Open

Two nights in a row we got timeouts on the SetVersion task #297

JoehannusApg opened this issue Feb 1, 2024 · 0 comments

Comments

@JoehannusApg
Copy link

These are the entries in the logging of the task:

##[debug]Set-XrmSolutionVersion : The request channel timed out while waiting for a reply after 00:02: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.
##[debug]At D:\APGVisualStudioAgent-1_work_tool\MSCRMBuildTools\12.0.95\xRMCIFramework\9.0.0\UpdateSolutionVersionInCRM.ps1:32 char:1
##[debug]+ Set-XrmSolutionVersion -ConnectionString $CrmConnectionString -Soluti ...
##[debug]+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
##[debug] + CategoryInfo : NotSpecified: (:) [Set-XrmSolutionVersion], TimeoutException
##[debug] + FullyQualifiedErrorId : System.TimeoutException,Xrm.Framework.CI.PowerShell.Cmdlets.SetXrmSolutionVersionCommand
##[debug]
##[debug]Script stack trace:
##[debug]at , D:\APGVisualStudioAgent-1_work_tool\MSCRMBuildTools\12.0.95\xRMCIFramework\9.0.0\UpdateSolutionVersionInCRM.ps1: line 32
##[debug]at , D:\APGVisualStudioAgent-1_work_tasks\MSCRMSetVersion_1cacdeec-c8dd-4091-a522-5a8fbf49c851\12.0.4\MSCRMSetVersion.ps1: line 38
##[debug]at , : line 1
##[debug]at , : line 22
##[debug]at , : line 18
##[debug]at , : line 1
##[debug]Exception:
##[debug]System.TimeoutException: The request channel timed out while waiting for a reply after 00:02: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. ---> System.TimeoutException: The HTTP request to 'https://dev-apg.crm4.dynamics.com/XRMServices/2011/Organization.svc/web?SDKClientVersion=9.0.45.2282' has exceeded the allotted timeout of 00:02:00. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out
##[debug] at System.Net.HttpWebRequest.GetResponse()
##[debug] at System.ServiceModel.Channels.HttpChannelFactory1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) ##[debug] --- End of inner exception stack trace --- ##[debug] at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason) ##[debug] at System.ServiceModel.Channels.HttpChannelFactory1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
##[debug] at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
##[debug] --- End of inner exception stack trace ---
##[debug]
##[debug]Server stack trace:
##[debug] at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
##[debug] at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
##[debug] at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
##[debug] at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
##[debug] at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
##[debug]
##[debug]Exception rethrown at [0]:
##[debug] at Microsoft.Xrm.Tooling.Connector.CrmServiceClient.Update(Entity entity)
##[debug] at Xrm.Framework.CI.PowerShell.Cmdlets.SetXrmSolutionVersionCommand.ProcessRecord()
##[debug] at System.Management.Automation.CommandProcessor.ProcessRecord()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant