SCVMM console attempting to reconnect - connection was lost

Gábor Nagy 1 Reputation point
2022-11-25T08:11:58.047+00:00

SCVMM console was installed to an RDS server, but when I try to connect to the remote SCVMM (2016, 4.0.1662.0) server I get the following error message:
264158-image.png

The necessary firewall ports(8100,8101,8102,8103) are open. I tried to reinstall the console, didn't help.
I installed SCVMM console to an another computer with the same installkit, same settings and it worked there. I could connect to the server. Off course the console works from local on the SCVMM server.

Can I find any detailed logs on the console side, why doesn't connect?

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,435 questions
System Center Virtual Machine Manager
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. XinGuo-MSFT 16,096 Reputation points
    2022-11-28T09:28:56.707+00:00

    Hi,

    For this issue, I recommend you try to enable debug logging.

    How to enable debug logging in Virtual Machine Manager

    https://support.microsoft.com/en-us/topic/how-to-enable-debug-logging-in-virtual-machine-manager-e469331f-6a8b-9fa6-69dd-170c6c4a5303

    0 comments No comments

  2. Gábor Nagy 1 Reputation point
    2022-11-29T12:56:57.723+00:00

    Hi,

    According to the detailed log, console runs some cmdlet ( Get-SCVMXComputerConfiguration, Get-SCGuestOSProfile) and then I get the logs belowe.
    When I connect manally via powershell it looks OK.

    Connection ID uuid:e4da676b-21c4-4a56-a2a7-45c772e6bcf7;id=1 closed to carmine server scvmm01.domain.local

    then some error log:
    Connection lost, aborting wait!

    private\product\monad\Remoting\ServerConnection.cs
    1418
    Unknown exception received in PerformOperation

    private\product\monad\common\MonadUtils.cs
    430
    Creating new error record from exception

    Launching new admin console process at 'C:\Program Files\Microsoft System Center 2016\Virtual Machine Manager\bin\VmmAdminUI.exe' with parameters '"/reconnect:scvmm01.domain.local,8100,Administrator,True"'.

    private\product\monad\Remoting\ServerConnection.cs
    1418
    Microsoft.VirtualManager.Utils.CarmineException: The connection to the VMM management server scvmm01.domain.local was lost.
    Ensure that scvmm01.domain.local is online and that you can access the server remotely from your computer. Then connect to scvmm01.domain.local and try the command again using the new connection. Or, you can ensure that the Virtual Machine Manager service is started on scvmm01.domain.local. Then connect to scvmm01.domain.local and try the command again using the new connection. If the command fails again because of a connection failure, restart the Virtual Manager service and then try the operation again.
    at Microsoft.SystemCenter.VirtualMachineManager.ClientCache.ObjectSetWaiter1.ThrowIfResultsAreMissing(String serverName) at Microsoft.SystemCenter.VirtualMachineManager.ClientCache.ObjectSetWaiter1.GetResults(ClientCache cache)
    at Microsoft.SystemCenter.VirtualMachineManager.ClientCache.WaitForObjectsObjectType
    at Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.GetSCCapabilityProfileCmdlet.Process()
    at Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.CmdletBase.ProcessRecord()
    Carmine error was: ConnectionLostDuringOperation (1610) scvmm01.domain.local **

    Full call stack from when the exception was thrown: at Microsoft.SystemCenter.VirtualMachineManager.ClientCache.ObjectSetWaiter1.GetResults(ClientCache cache) at Microsoft.SystemCenter.VirtualMachineManager.ClientCache.WaitForObjects[ObjectType](List1 ids, OnBehalfOf obo)
    at Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.GetSCCapabilityProfileCmdlet.Process()
    at Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.CmdletBase.ProcessRecord()
    at System.Management.Automation.Cmdlet.DoProcessRecord()
    at System.Management.Automation.CommandProcessor.ProcessRecord()
    at System.Management.Automation.CommandProcessorBase.DoExecute()
    at System.Management.Automation.Internal.PipelineProcessor.Inject(Object input, Boolean enumerate)
    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
    at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
    at System.Management.Automation.Interpreter.ActionCallInstruction6.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) at System.Management.Automation.DlrScriptCommandProcessor.RunClause(Action1 clause, Object dollarUnderbar, Object inputToProcess)
    at System.Management.Automation.DlrScriptCommandProcessor.Complete()
    at System.Management.Automation.CommandProcessorBase.DoComplete()
    at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(CommandProcessorBase commandRequestingUpstreamCommandsToStop)
    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
    at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
    at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()
    at System.Management.Automation.Runspaces.LocalPipeline.StartPipelineExecution()
    at System.Management.Automation.Runspaces.PipelineBase.CoreInvoke(IEnumerable input, Boolean syncCall)
    at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
    at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
    at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
    at System.Management.Automation.PowerShell.CoreInvokeHelperTInput,TOutput
    at System.Management.Automation.PowerShell.CoreInvokeTInput,TOutput
    at System.Management.Automation.PowerShell.CoreInvokeTOutput
    at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings settings)
    at Microsoft.VirtualManager.PowerShellAbstractionLayer.PalRunspacePool.<>c__DisplayClass4.<ThreadPoolCallback>b__2()
    at Microsoft.VirtualManager.PowerShellAbstractionLayer.PalUtils.HandleInvocationErrors(Action func)
    at Microsoft.VirtualManager.PowerShellAbstractionLayer.PalRunspacePool.ThreadPoolCallback(Object state)
    at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
    at System.Threading.ThreadPoolWorkQueue.Dispatch()
    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

    0 comments No comments