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

Telerik Host, No endpoint listening

16 Answers 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 23 Feb 2015, 06:00 PM
My small team of 4 is attempting to launch a new browser using Manager.LaunchNewBrowser. Chrome is set as the default browser, but the browser never opens  the error in the title is shown. Please help.

16 Answers, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 23 Feb 2015, 07:12 PM
Here is a link to another forum post with the exact same problem, except they experienced it intermittently. We have not been able to successfully run a test.

http://www.telerik.com/forums/%27the-pipe-endpoint-%27net-pipe-localhost-telerik-testingframework-hosts-manager%27-could-not-be-found-on-your-local-machine%27-running-with-chrome

We have tried all suggestions posted in the above link.
0
Boyan Boev
Telerik team
answered on 26 Feb 2015, 12:49 PM
Hello Robert,

Could you please send us the exact exception which you get. 

Please send us a screen shot.

Also please send us the application log. Clear it first and then reproduce the issue.

Can you capture a screen recording of the test running and failing, so we can better understand the exact scenario? Jing is a good free screen recorder for up to 5 minutes of recording time.

Hope to hear from you soon.

Regards,
Boyan Boev
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, 06:45 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:54 AM
Hi John,

Do you use some antivirus or firewall on the VM or your local machine? They can block the communication.

Could you please temporary turn off any antivirus or firewall and give that a try.

In order to help you best please give us more detailed information:

1. What version of the Framework do you use? Try out with our latest official version (1411).

2. If you have installed the latest version please also install the latest Chrome extension. You can find a direct link for them here.

Hope to hear from you soon.

Regards,
Boyan Boev
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 10 Mar 2015, 03:16 PM
Firewalls are disabled and the is no Anitvirus on the VM.  I have File Version 2014.4.1411.0 of ArtOfTest.WebAii, 2014.1.410.2 of Chrome Explore and 2014.2.618.8 of Chrome Playback installed.  Chrome is also up to date, version 41.0.2272.76 m
0
Boyan Boev
Telerik team
answered on 13 Mar 2015, 09:12 AM
Hi John,

Try turning off the antivirus / firewall on the local machine also and give that a try.

In the meantime I will try to setup the same environment as yours and will try to reproduce the issue.

Thank you for your patience.

Regards,
Boyan Boev
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 13 Mar 2015, 09:46 PM
I actually Upgraded my Visual Studio from 2012 to Version 2013 and now am receiving this error locally as well.  This error only occurs when attempting to run using VS2013 but seems to work just fine with VS2012(Even with both copies on the same machine).  The VM only has a license for 2013, and we like to have it current.  Hopefully this provided more information to troubleshoot.
0
John
Top achievements
Rank 1
answered on 13 Mar 2015, 10:13 PM
2013 is now working locally after I disabled all instances of Telerik.TestingFramework.Hosts.Manager Inbound Firewall rules, however we still have an issue with the VM.  All the firewalls are disabled, and the test kicked off by MTM fails with the same error.
0
Boyan Boev
Telerik team
answered on 18 Mar 2015, 12:11 PM
Hi John,

Have you tried to add all instances of Telerik.TestingFramework.Hosts.Manager in the inbound/outbound Firewall rules instead of turning it off on the VM.

Also do you run the VS as administrator?

Hope to hear from you soon.

Regards,
Boyan Boev
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
John
Top achievements
Rank 2
answered on 13 Apr 2015, 05:41 PM
I get this error every time if I'm running VS as Administrator. I don't get the error when I'm not.

I'm running Windows 8.1 Pro, VS 2013, with the Telerik Test Runner
0
Boyan Boev
Telerik team
answered on 16 Apr 2015, 08:33 AM
Hello John,

Have you tried the suggestion that I have to John Kurtz?

Hope to hear from you soon.

Regards,
Boyan Boev
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 16 Apr 2015, 02:37 PM
Sorry for not following up, yes I am running as Admin through Compatibility Privilege level. All firewall rules, inbound and outbound are disabled.  Same scenario.
0
John
Top achievements
Rank 2
answered on 16 Apr 2015, 02:43 PM
I did add Telerik.TestingFramework.Hosts.Manager to my windows firewall for domain, private, and public but that doesn't help.
0
Boyan Boev
Telerik team
answered on 21 Apr 2015, 01:08 PM
Hi,

Could you please just disable all firewalls and antivirus software and give that a try. It is just for testing purposes.

Another thing based on the earlier stack trace, this looks like it's a named pipe. Maybe the ACL for the pipe is such that it doesn't allow connections across integrity levels.

See this article for further information.

Hope this helps.

Regards,
Boyan Boev
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Dan
Top achievements
Rank 1
answered on 03 Feb 2016, 01:22 PM

I'm getting the same issue when running via vstest.console.exe in VS Command Prompt, intermittently when running through a long list of tests sequentially, some will work fine, some will get the pipe error.

However when using mstest.exe, I do not get any of these errors at all, and all tests run fine in sequence.

 

Any help would be much appreciated.

0
Boyan Boev
Telerik team
answered on 04 Feb 2016, 03:34 PM
Hello Dan,

We fully support MSTEST. I cannot guarantee that everything should work correctly with vstest.console.exe. It is officially not supported.

Here is a list of supported runners.

Thank you for your understandings.

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
Robert
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Boyan Boev
Telerik team
John
Top achievements
Rank 1
John
Top achievements
Rank 2
Dan
Top achievements
Rank 1
Share this question
or