i run my test cycles with remotely with ranorex agents.
And sometimes ranorex stops execution on agent. From agent log I get next message:
Code: Select all
2020-07-30 06:32:28.9050 Ranorex.Dex.Infrastructure.RanorexEventSource EventId:13 Background task 'Failed to resume test process via proxy. Killing process...' failed: System.Runtime.Remoting.RemotingException: Port is Busy: All pipe instances are busy.
Server stack trace:
at System.Runtime.Remoting.Channels.Ipc.IpcPort.Connect(String portName, Boolean secure, TokenImpersonationLevel impersonationLevel, Int32 timeout)
at System.Runtime.Remoting.Channels.Ipc.ConnectionCache.GetConnection(String portName, Boolean secure, TokenImpersonationLevel level, Int32 timeout)
at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at Ranorex.Dex.Components.TestExecution.Env.ReplayServiceProxy.GetCurrentExeState()
at Ranorex.Dex.Components.TestExecution.Steps.ExecuteBinTestStep.<GetStatus>b__26_0(IProcess p).
2020-07-30 06:32:30.9780 Ranorex.Dex.Components.TestExecution.Steps.ProgressLogger Ranorex.Dex.Common.Types.Progress.TestExeState
2020-07-30 06:32:32.7760 Ranorex.Dex.Components.TestExecution.Steps.ProgressLogger Execution finished with result Error
2020-07-30 06:32:38.0279 Ranorex.Dex.Components.TestExecution.Steps.ProgressLogger Publishing test results
2020-07-30 06:32:38.8009 Ranorex.Dex.Components.TestExecution.Steps.ProgressLogger Failed to publish test result No artifact found in C:\Users\user\AppData\Local\Temp\Ranorex\8d32a630fb52906e7a3dc1e944550b52\
2020-07-30 06:32:49.1780 Ranorex.Dex.Components.Domain.ExecutionAgent Job finished
But this error continues to happen time to time.
Ranorex support suggested to change port on agent to another one but in this case when I trigger the run I need to specify machine_name/ip_address : <new_port> to make run on the agent.
Agents are running windows server 2019.
The question is:
is it possible to change port somewhere in Ranorex studio setting from default (8081) to another one (8082 for example) so it will be possible to specify ranorex agent name with the same port (8082) instead of pointing machine_name/ip:<8082>?
Thanks!