This is a migrated thread and some comments may be shown as answers.

'The pipe endpoint 'net.pipe://localhost/Telerik/TestingFramework.Hosts.Manager' could not be found on your local machine' running with Chrome

8 Answers 221 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 01 Oct 2014, 11:09 PM
Occasionally when testing with Chrome as the browse, I get this exception when it tries to launch the browser:

There was no endpoint listening at net.pipe://localhost/Telerik/TestingFramework.Hosts.Manager that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

Here's the inner exception:

The pipe endpoint 'net.pipe://localhost/Telerik/TestingFramework.Hosts.Manager' could not be found on your local machine.

Rerunning the test alleviates the problem, so it's not an issue of the manager not being found...

8 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 06 Oct 2014, 03:49 PM
Hi Steve,

We're not aware of any problems running tests in Chrome. I have a few questions:

1) What version of Windows are you running?
2) What version of Chrome are you using?
2) What do you use for Anti-virus? Some include a proxy to monitor Internet communications.

Regards,
Cody
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Steve
Top achievements
Rank 1
answered on 06 Oct 2014, 07:52 PM
Chrome Version 37.0.2062.124 m
Windows 7 SP1 (x64)
Symantec Endpoint Protection on some machines, nothing on others, and I get it to reproduce occasionally on various machines here.  Always seems to be the first run of the day, or after a reboot, if that helps.  Technically, what is happening behind the scenes with regards to using pipes and other communications when running a test?  Maybe knowing that will help me chase this down further.
0
Cody
Telerik team
answered on 07 Oct 2014, 02:28 PM
Hello Steve,

I've tried a few times but unable to reproduce any problems on my machine. It may be I'm not following the exact same steps as you. A couple more questions:

1) What you are using as your test runner? Visual Studio (which version)? Nunit? XUnit? MBUnit?
2) Can you send me a complete test project I can execute here that shows the problem? It needs to run against a publicly accessible URL.

Regards,
Cody
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Steve
Top achievements
Rank 1
answered on 07 Oct 2014, 04:25 PM
Like I said before, it's very random, and seems to happen after a reboot, but only one time.  Then, I'm usually good all day.  But, to answer your questions:

Visual Studio 2012 and 2013 instances both do this.
The only thing you need to do to reproduce it is call LaunchNewBrowser - that's where it fails every time when it fails. 

This didn't happen with a release of Webaii maybe 2 revisions old, but that's relying on my memory.  If you can't reproduce it, it's no big deal, I'll continue to live with it, but I would still like to know more of the technical details of what exactly WebAii is doing when it tries to launch the browser with the UseHttpProxy set to True.  It seems like the manager must adjust the proxy settings on the machine to point to itself, and then is resets those values when the test is finished.

Sometimes, I'll get a windows error "The Telerik Manager something something has stopped responding - close the program check for solutions, blablabla" and then I go look at the proxy settings in Internet Properties, and the "Use Proxy" checkbox is checked, with no value for the proxy server name/address/port... Next time I get a crash in the manager, I'll gather up the error messages and put them here - maybe that will help...
0
Cody
Telerik team
answered on 10 Oct 2014, 01:20 PM
Hi Steve,

I'm setting up a different environment to try and repro this. I'll let you know my results.

Regards,
Cody
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Cody
Telerik team
answered on 10 Nov 2014, 11:05 PM
Hi Steve,

After multiple attempts and multiple reboots I've not had a single occurrence of "The pipe endpoint 'net.pipe://localhost/Telerik/TestingFramework.Hosts.Manager' could not be found on your local machine' running with Chrome".


Regards,
Cody
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
John
Top achievements
Rank 1
answered on 05 Mar 2015, 05:57 PM
I am running into this problem consistently.  I do not see this issue when running locally, and the same automation will run fine in Internet Explorer 11.  It fails when we attempt to run any test in Chrome on a VM through Microsoft Test Manager.  The VM has the most up to date Chrome and Telerik Automation Framework.  The VM is Windows Server 2008 R2 Standard Service Pack 1 with Visual Studio 2013 installed.  See the attached file for a screen shot of what appears: Chrome opens a window, then throws a Telerik.TestingFramework.Hosts.Manager error.  Below is the stack trace and error message

There was an error during test setup. System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at net.pipe://localhost/Telerik/TestingFramework.Hosts.Manager that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.IO.PipeException: The pipe endpoint 'net.pipe://localhost/Telerik/TestingFramework.Hosts.Manager' could not be found on your local machine. 
   --- End of inner exception stack trace ---

Server stack trace: 
   at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings)
   at System.ServiceModel.Channels.NamedPipeConnectionPoolRegistry.NamedPipeConnectionPool.GetPoolKey(EndpointAddress address, Uri via)
   at System.ServiceModel.Channels.CommunicationPool`2.TakeConnection(EndpointAddress address, Uri via, TimeSpan timeout, TKey& key)
   at System.ServiceModel.Channels.ConnectionPoolHelper.TakeConnection(TimeSpan timeout)
   at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
   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.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, 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.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
   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 Telerik.TestingFramework.Hosts.Common.IWebSocketHost.RegisterListener(Int32 pid)
   at ArtOfTest.WebAii.Messaging.Process.HostsProxy.Start()
   at ArtOfTest.WebAii.Messaging.Process.HostsProxy.RegisterListener(MessageListener listener)
   at ArtOfTest.WebAii.Messaging.Process.ExecutionMediator.RegisterManager(Manager manager)
   at ArtOfTest.WebAii.BrowserSpecialized.Chrome.ChromeActions.LaunchNewBrowserInstance(ProcessWindowStyle windowStyle, Manager manager)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch)
   at Staywell.Common.Automation.BaseClasses.TestBase.InitializeBrowser() in c:\dev\01-Development\KSW Shared Components\Shared Libraries\Staywell.Common.Automation.2013\Staywell.Common.Automation\BaseClasses\TestBase.cs:line 372
   at Staywell.Common.Automation.BaseClasses.TestBase.TestSetup(Boolean browserTest) in c:\dev\01-Development\KSW Shared Components\Shared Libraries\Staywell.Common.Automation.2013\Staywell.Common.Automation\BaseClasses\TestBase.cs:line 183
0
Boyan Boev
Telerik team
answered on 10 Mar 2015, 08:36 AM
Hi John,

This is a duplicate of this post. Please let's continue the discussion there.

Regards,
Boyan Boev
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Steve
Top achievements
Rank 1
Answers by
Cody
Telerik team
Steve
Top achievements
Rank 1
John
Top achievements
Rank 1
Boyan Boev
Telerik team
Share this question
or