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
-
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()
-
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
-
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.
-
After new install this exception always happens.
-
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
orusername@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
-
Reinstall server from scratch, the same error.
-
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.
-
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.