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!

    Otter 2.2.3. ServerCheckerRunner

    Scheduled Pinned Locked Moved Support
    8 Posts 3 Posters 54 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.
    • V Offline
      vadim.k_6062
      last edited by

      Can not connect to Windows servers with WSMan endpoint. Try to use credentials FQDN and Netbios, result - exception.
      Unhandled exception while attempting agent update check.
      System.ArgumentNullException: Value cannot be null.
      Parameter name: stream
      at System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen)
      at System.IO.StreamReader..ctor(Stream stream, Encoding encoding)
      at Inedo.Agents.PowerShell.Scripts.GetScript(String name)
      at Inedo.Agents.PowerShell.PowerShellFileOperationsExecuter.<GetFileSystemInfosAsync>d__22.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Inedo.Agents.PowerShell.PowerShellAgentClient.<CheckAndUpdateAgent>d__9.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Inedo.Otter.Extensions.Agents.PowerShell.PowerShellAgent.<CheckAndUpdateAgent>d__18.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Inedo.Otter.Service.Servers.ServerCheckerRunner.<CheckPowerShellAgentAsync>d__12.MoveNext()

      1 Reply Last reply Reply Quote 0
      • jjonesJ Offline
        jjones inedo-engineer
        last edited by

        Hi Vadim,

        I understand you have restarted the Otter server. Is this a new error or is this something that has occurred after an upgrade?

        Thanks,
        Jason

        1 Reply Last reply Reply Quote 0
        • V Offline
          vadim.k_6062
          last edited by

          I updated server to 2.2.3 version, then stop all services and made backup database. Installed new Windows server 2019 and install Otter 2.2.3 using existing database. I use raft - TFS Git repository, on new server I deleted old raft and create ne one. To connect to Linux systems I use Private Key resource credentials it works fine.

          1 Reply Last reply Reply Quote 0
          • V Offline
            vadim.k_6062
            last edited by

            After new install this exception always happens.

            1 Reply Last reply Reply Quote 0
            • apxltdA Offline
              apxltd inedo-engineer
              last edited by

              Here is the underlying error message:

              Can not connect to Windows servers with WSMan endpoint. Try to use credentials FQDN and Netbios, result - exception.

              Basically, this means that your username/password is not being accepted. It should be something like DOMAIN\username or username@domain.local

              It could also be that WSMan isn't configured to allow these connections; this can be controlled at the domain. I recommend you use the Inedo agent, it's a lot easier to set-up and get working

              Founder and CEO, Inedo

              1 Reply Last reply Reply Quote 0
              • V Offline
                vadim.k_6062
                last edited by

                Reinstall server from scratch, the same error.

                1 Reply Last reply Reply Quote 0
                • apxltdA Offline
                  apxltd inedo-engineer
                  last edited by

                  That's not surprising; as I mentioned, the problem lies with your configuration. Either you're using the wrong name and password in Otter, or the WSMan endpoint on the remote server isn't enabled.

                  I recommend you to use to Inedo Agent.

                  Founder and CEO, Inedo

                  1 Reply Last reply Reply Quote 0
                  • apxltdA Offline
                    apxltd inedo-engineer
                    last edited by

                    Quick update: there's a bug we identified with some WsMAn connections that are causing different errors, but it might be related. We're going to fix this in Otter 2.2.5, shipping Friday.

                    Otter 2.2.2 doesn't seem to exhibit this behavior.

                    Founder and CEO, Inedo

                    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