Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Run time issue with the Otter Web Service

    Scheduled Pinned Locked Moved Support
    otter
    17 Posts 3 Posters 39 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      the issue at hand is this: the "Otter Web Service" will not run. When I attempt to start it manually, it states "Error 1067: The process terminated unexpectedly."

      Log info

      Log Name: Application

      Source: Application Error

      Date: 2/15/2018 9:23:49 AM

      Event ID: 1000

      Task Category: (100)

      Level: Error

      Keywords: Classic

      User: N/A

      Computer:

      Description:
      Faulting application name: Otter.Service.exe, version: 2.0.5.4, time stamp: 0x5a70c0e2 Faulting module name: KERNELBASE.dll, version: 10.0.14393.1770, time stamp: 0x59bf2ba6 Exception code: 0xe0434352 Fault offset: 0x0000000000033c58 Faulting process id: 0x189c Faulting application start time: 0x01d3a670fa0608a8 Faulting application path: C:\Program Files\Otter\Service\Otter.Service.exe
      Faulting module path: C:\Windows\System32\KERNELBASE.dll
      Report Id: f7a5955f-69a0-4882-9ea9-533da43ae15c
      Faulting package full name:
      Faulting package-relative application ID:

      Event Xml:
      <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
      <Provider Name="Application Error" />
      <EventID Qualifiers="0">1000</EventID>
      <Level>2</Level>
      <Task>100</Task>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated SystemTime="2018-02-15T15:23:49.155122900Z" />
      <EventRecordID>1423</EventRecordID>
      <Channel>Application</Channel>
      <Computer>WIN-05FSE3SF2FQ</Computer>
      <Security />
      </System>
      <EventData>
      <Data>Otter.Service.exe</Data>
      <Data>2.0.5.4</Data>
      <Data>5a70c0e2</Data>
      <Data>KERNELBASE.dll</Data>
      <Data>10.0.14393.1770</Data>
      <Data>59bf2ba6</Data>
      <Data>e0434352</Data>
      <Data>0000000000033c58</Data>
      <Data>189c</Data>
      <Data>01d3a670fa0608a8</Data>
      <Data>C:\Program Files\Otter\Service\Otter.Service.exe</Data>
      <Data>C:\Windows\System32\KERNELBASE.dll</Data>
      <Data>f7a5955f-69a0-4882-9ea9-533da43ae15c</Data>
      <Data>
      </Data>
      <Data>
      </Data>
      </EventData>
      </Event>

      Product: Otter
      Version: 2.0.5

      1 Reply Last reply Reply Quote 0
      • benB Offline
        ben inedo-engineer
        last edited by

        Hello Brad,

        Is there any error message if you run this from an elevated shell?

        cd "C:\Program Files\Otter\Service"
        .\Otter.Service.exe run --mode=serviceonly
        
        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Yes, here is the output:
          C:\Windows\system32>cd "C:\Program Files\Otter\Service"

          C:\Program Files\Otter\Service>.\Otter.Service.exe run --mode=serviceonly
          Unhandled exception: System.ServiceModel.AddressAlreadyInUseException: Cannot listen on pipe name 'net.pipe://localhost/otter-ctrl/' because another pipe endpoint is already listening on that name. ---> System.IO.PipeException: Cannot listen on pipe name 'net.pipe://localhost/otter-ctrl/' because another pipe endpoint is already listening on that name.
          --- End of inner exception stack trace ---
          at System.ServiceModel.Channels.PipeConnectionListener.Listen()
          at System.ServiceModel.Channels.ExclusiveNamedPipeTransportManager.OnOpen()
          at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
          at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
          at System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
          at System.ServiceModel.Channels.ConnectionOrientedTransportChannelListener.OnOpen(TimeSpan timeout)
          at System.ServiceModel.Channels.NamedPipeChannelListener`2.OnOpen(TimeSpan timeout)
          at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
          at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
          at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
          at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
          at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
          at Inedo.Messaging.ServiceMessenger.ServiceMessengerService.Start()
          at Inedo.Otter.Service.OtterService.OnStart()
          at Inedo.WindowsServices.InedoService.Start()
          at Inedo.Otter.Service.Program.run(WebServerMode mode, Boolean runAsService)

          C:\Program Files\Otter\Service>

          1 Reply Last reply Reply Quote 0
          • benB Offline
            ben inedo-engineer
            last edited by

            Ah, sorry, I misread. The web service is what's having problems starting, so this would be the command instead:

            cd "C:\Program Files\Otter\Service"
            .\Otter.Service.exe run --mode=webonly
            
            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              Attempting to execute - it is taking a while and only showing me a blinking cursor...

              1 Reply Last reply Reply Quote 0
              • benB Offline
                ben inedo-engineer
                last edited by

                Are you able to access the Otter web UI while it's running?

                1 Reply Last reply Reply Quote 0
                • ? This user is from outside of this forum
                  Guest
                  last edited by

                  No I am not. I am shown this page:

                  This page can’t be displayed

                  Turn on TLS 1.0, TLS 1.1, and TLS 1.2 in Advanced settings and try connecting to https://localhost:8626 again. If this error persists, it is possible that this site uses an unsupported protocol or cipher suite such as RC4 (link for the details), which is not considered secure. Please contact your site administrator.

                  1 Reply Last reply Reply Quote 0
                  • atrippA Offline
                    atripp inedo-engineer
                    last edited by

                    Does it work with http://localhost:8626? I don't think the standalone web server does its own TLS.

                    1 Reply Last reply Reply Quote 0
                    • ? This user is from outside of this forum
                      Guest
                      last edited by

                      Yes! That worked. However, the Otter Web Server service still is not running.

                      1 Reply Last reply Reply Quote 0
                      • benB Offline
                        ben inedo-engineer
                        last edited by

                        Ok, that means that the web service is able to run with the permissions you have when you elevate.

                        If the web service is running with restricted permissions, it might not be able to access something it needs to start up.

                        As far as I know, it needs read/write access to C:\ProgramData\Otter, read access to C:\Program Files\Otter, and the ability to communicate over the named pipe otter-ctrl.

                        1 Reply Last reply Reply Quote 0
                        • ? This user is from outside of this forum
                          Guest
                          last edited by

                          Thanks. I would have thought Local System would have all of those. I will double check.

                          1 Reply Last reply Reply Quote 0
                          • ? This user is from outside of this forum
                            Guest
                            last edited by

                            Ok, I have to punt here. I am not able to check the permissions on the otter-ctrl named pipe as I am not able to find it. Perhaps it is just ignorance on my part. I have attempted to run it as Network Service as well as creating a new local Admin account. No joy there either. I feel like there is a solution but it is eluding me. If there is anything else I can try, I am all ears.

                            1 Reply Last reply Reply Quote 0
                            • ? This user is from outside of this forum
                              Guest
                              last edited by

                              Are you saying, that you can access the Otter Web UI, but the Otter Web service isn't working?

                              In this case, I think you must have Otter Web running through IIS. Which, is ok, so you don't need to worry about the web Service.

                              1 Reply Last reply Reply Quote 0
                              • ? This user is from outside of this forum
                                Guest
                                last edited by

                                Alana - appreciate it. I am going to verify that. It would make sense I supposed, I just was expecting it run since it was present. I guess I missed that in the documentation. Anyhow, thanks again and I will let you know what I find out (may be next week though).

                                1 Reply Last reply Reply Quote 0
                                • ? This user is from outside of this forum
                                  Guest
                                  last edited by

                                  Ok, when I install IIS and run Otter in this manner, this is what I receive:
                                  HTTP Error 403.14 - Forbidden. The Web server is configured to not list the contents of this directory.
                                  Most likely causes: A default document is not configured for the requested URL, and directory browsing is not enabled on the server.

                                  I can enable directory browsing and browse, however, I do not see the GUI.

                                  This is the case on both Windows 2012 R2 as well as Windows 2016. I also upgraded from Otter 2.0.5 to 2.0.6. Working on uninstalling everything and making sure to reinstall everything as administrator (even though I am logged in as an admin) to see if that makes a difference.

                                  1 Reply Last reply Reply Quote 0
                                  • atrippA Offline
                                    atripp inedo-engineer
                                    last edited by

                                    It sounds like you don't have ASP.NET enabled as a role on your Windows server. The installer should detect it, but that checkmay have failed. Hard to say.

                                    In the Server Manager feature of Windows, make sure to select ASP.NET 4.5 (or whatever the latest version is), by expanding the Application Development node.

                                    1 Reply Last reply Reply Quote 0
                                    • ? This user is from outside of this forum
                                      Guest
                                      last edited by

                                      Doubled checked and verified that ASP.NET 4.5 (or later) is already installed.

                                      1 Reply Last reply Reply Quote 0

                                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                      With your input, this post could be even better 💗

                                      Register Login
                                      • 1 / 1
                                      • First post
                                        Last post
                                      Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation