Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


rst3b
  •  rst3b
  • No customer Topic Starter
2016-12-15T17:48:05Z
We are having issues with PowerShell tasks getting locked. Looking at the underlying PID, you can see that it is held up on a WerFault exception. Once the task PID is killed the following error is being displayed. I have seen this issue on two different server versions, 8.1.2 and 8.2.1. Any assistance with the issue would be appreciated.

Thanks!

Unhandled Exception: System.TimeoutException: The open operation did not complete within the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: Open timed out after 00:01:00 while establishing a transport session to net.pipe://visualcronserver/TaskService. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: Cannot connect to endpoint 'net.pipe://visualcronserver/TaskService' within the allotted timeout of 00:00:59.8500000. The server has likely reached the MaxConnections quota and is too busy to accept new connections. The time allotted to this operation may have been a portion of a longer timeout. ---> System.IO.PipeException: A pipe endpoint exists for '\\.\pipe\164e8364-7407-4d33-a860-75fcb64a33bb', but the connect failed: All pipe instances are busy. (231, 0xe7)
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.PipeConnectionInitiator.TryConnect(Uri remoteUri, String resolvedAddress, BackoffTimeoutHelper backoffHelper)
at System.ServiceModel.Channels.PipeConnectionInitiator.Connect(Uri remoteUri, TimeSpan timeout)
at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
--- End of inner exception stack trace ---

Server stack trace:
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at VisualCron.ITaskService.RequestTaskInfo(Int32 VCTaskPId)
at cHJfmnyPpKZ0iJ4tnN.WH0WifmctoBfvWrb07.xvlEa5rgK(String[] )
Exception in Task: Non zero exit code
Exception in Task: Non zero exit code
Sponsor
Forum information
Support
2016-12-15T18:18:41Z
What if you just call script text:

write-output "hello world"
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
rst3b
  •  rst3b
  • No customer Topic Starter
2016-12-15T18:29:20Z
Exception in Task: Non zero exit code powershellissue1.png powershellissue2.png
Support
2016-12-15T18:33:41Z
Please send log_serverDATE.txt to support@visualcron.com
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top