Telerik Host, No endpoint listening

17 posts, 0 answers
  1. Robert
    Robert avatar
    2 posts
    Member since:
    Feb 2015

    Posted 23 Feb 2015 Link to this post

    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.
  2. Robert
    Robert avatar
    2 posts
    Member since:
    Feb 2015

    Posted 23 Feb 2015 Link to this post

    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.
  3. Boyan Boev
    Admin
    Boyan Boev avatar
    1043 posts

    Posted 26 Feb 2015 Link to this post

    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
     
  4. John
    John avatar
    10 posts
    Member since:
    Nov 2013

    Posted 05 Mar 2015 in reply to Boyan Boev Link to this post

    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
  5. Boyan Boev
    Admin
    Boyan Boev avatar
    1043 posts

    Posted 10 Mar 2015 Link to this post

    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
     
  6. John
    John avatar
    10 posts
    Member since:
    Nov 2013

    Posted 10 Mar 2015 in reply to Boyan Boev Link to this post

    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
  7. Boyan Boev
    Admin
    Boyan Boev avatar
    1043 posts

    Posted 13 Mar 2015 Link to this post

    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
     
  8. John
    John avatar
    10 posts
    Member since:
    Nov 2013

    Posted 13 Mar 2015 in reply to Boyan Boev Link to this post

    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.
  9. John
    John avatar
    10 posts
    Member since:
    Nov 2013

    Posted 13 Mar 2015 in reply to John Link to this post

    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.
  10. Boyan Boev
    Admin
    Boyan Boev avatar
    1043 posts

    Posted 18 Mar 2015 Link to this post

    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
     
  11. John
    John avatar
    3 posts
    Member since:
    Mar 2015

    Posted 13 Apr 2015 Link to this post

    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
  12. Boyan Boev
    Admin
    Boyan Boev avatar
    1043 posts

    Posted 16 Apr 2015 Link to this post

    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
     
  13. John
    John avatar
    10 posts
    Member since:
    Nov 2013

    Posted 16 Apr 2015 in reply to Boyan Boev Link to this post

    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.
  14. John
    John avatar
    3 posts
    Member since:
    Mar 2015

    Posted 16 Apr 2015 in reply to Boyan Boev Link to this post

    I did add Telerik.TestingFramework.Hosts.Manager to my windows firewall for domain, private, and public but that doesn't help.
  15. Boyan Boev
    Admin
    Boyan Boev avatar
    1043 posts

    Posted 21 Apr 2015 Link to this post

    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
     
  16. Dan
    Dan avatar
    2 posts
    Member since:
    Jan 2015

    Posted 03 Feb Link to this post

    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.

  17. Boyan Boev
    Admin
    Boyan Boev avatar
    1043 posts

    Posted 04 Feb Link to this post

    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
     
Back to Top