Failed to add a site to hierarchy

Hello,

I’m trying to set up a federated site, but I’m encountering an issue. I’ve followed the suggestions in this thread [link] and I’ve checked the following:

  • Can the primary server resolve the hostnames of the secondary servers and can the secondary servers resolve the host name of the primary : YES
  • Are either management servers hard pressed for resources, CPU, memory or network : No, resources are sufficient
  • If you install a Smart Client on both management servers primary and secondary can the secondary log onto the primary and vice versa: YES, from both sides
  • Is the secondary service user added as an administrator on the primary and vice versa : YES, from both sides
  • If you have tried to customize the hostnames or IPs then check the tools - registered services - network settings and confirm that this is the address for the cluster or server you expect (this is often forgotten) : Checked
  • Check time/date and time zone is correct and expected for both sites : Checked

I’ve found that there are no log messages related to the federation on the secondary server, but there are some on the primary server, which are as follows:

01/07/2025 09:11:45 (pid 20684, tid 19892, 01/07/2025 00:11:45) 01/07/2025 00:11:45 [19892] WARNING - ConnectToSite: Server-to-Server connection error. Failed to attach to site 'dc305208-e8c0-4611-92cd-b7a8f7cd323c' from home site 'ED4E967A-E774-4D06-A290-2A52D07F12CE','512SHZY010597' using the target's configured addresses . Exception='VideoOS.Management.VmoClient.UserNamePasswordException: Failed to connect, check the user name and password. ---> System.ServiceModel.Security.SecurityNegotiationException: 호출자가 서비스에 의해 인증되지 않았습니다. ---> System.ServiceModel.FaultException: 인증에 실패했기 때문에 보안 토큰에 대한 요청을 충족할 수 없습니다.
   위치: System.ServiceModel.Security.SecurityUtils.ThrowIfNegotiationFault(Message message, EndpointAddress target)
   위치: System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingMessageBody(Message incomingMessage, SspiNegotiationTokenProviderState sspiState)
   --- 내부 예외 스택 추적의 끝 ---
 
Server stack trace: 
   위치: System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)
   위치: System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan timeout)
   위치: System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
   위치: System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   위치: System.ServiceModel.Security.CommunicationObjectSecurityTokenProvider.Open(TimeSpan timeout)
   위치: System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan timeout)
   위치: System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
   위치: System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   위치: System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.OnOpen(TimeSpan timeout)
   위치: System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   위치: System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout)
   위치: System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(TimeSpan timeout)
   위치: System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout)
   위치: System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessionChannel.OnOpen(TimeSpan timeout)
   위치: System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   위치: System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
   위치: System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   위치: System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
   위치: System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
   위치: System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
   위치: System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   위치: System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   위치: System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
 
Exception rethrown at [0]: 
   위치: System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   위치: System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   위치: VideoOS.Management.VmoClient.Proxy.IServerService.GetServerVersion()
   위치: VideoOS.Management.VmoClient.ConnectionManager.UpdateServerVersionLegacy()
   --- 내부 예외 스택 추적의 끝 ---
   위치: VideoOS.Management.VmoClient.ConnectionManager.UpdateServerVersionLegacy()
   위치: VideoOS.Management.VmoClient.ConnectionManager.Connect()
   위치: VideoOS.Management.VmoClient.Internal.SiteConnector.SiteConnectionThread(InternalSiteConnectionInfo siteConnectionInfo)'

As this is not related to software development with the MIP SDK, which is the focus of this forum, please ask again in the support community, you should get better help from the partners using the support community.

https://supportcommunity.milestonesys.com