This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error when adding host in protection

Hello !

I have some issues with one virtual host when a try to add it in AppAssure 5.4.3.106 :

ERROR 2017-02-22T10:31:14 [17] - Replay.ServiceHost.Implementation.Hosting.ServiceHost (RequestUri=https://vsaoantivir:8006/apprecovery/api/agent/metadata/summaryMetadata ClientAddress=172.25.10.194:55231)
Service Host Error: Service error while handling request [PUT https://vsaoantivir:8006/apprecovery/api/agent/metadata/summaryMetadata]: La valeur ne peut pas être null.
Nom du paramètre : source
Request Uri: https://vsaoantivir:8006/apprecovery/api/agent/metadata/summaryMetadata
Client Address: 172.25.10.194:55231
Identity: NTLM:VSAOANTIVIR\Administrateur
Service: Replay.Agent.Management.Metadata.AgentMetadataManagement
Method: GetCurrentSummary

System.ArgumentNullException: La valeur ne peut pas être null.
Nom du paramètre : source
   à System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   à Replay.Common.Implementation.Storage.StorageMetadataWinApi.IsWinApiVolumeNotSupported(DiskMetadataWinApi diskMetadata, WinApiVolume winApiVolume)
   à Replay.Common.Implementation.Storage.StorageMetadataWinApi.BuildVolumesList(IEnumerable`1 volumesNames, Boolean includeNonSnapableVolumes)
   à Replay.Common.Implementation.Storage.StorageMetadataWinApi.PerformRefresh(Boolean force, Boolean includeReplayVirtualDisks, Boolean includeNonSnapableVolumes, Boolean autoMount)
   à Replay.Common.Implementation.Storage.StorageServiceWinApi.CreateStorageMetadata(Boolean includeReplayVirtualDisks, Boolean includeNonSnapableVolumes, Boolean force, Boolean autoMount)
   à Replay.Common.Implementation.Storage.StorageServiceBase.GetMetadata(Boolean includeReplayVirtualDisks, Boolean includeNonSnapableVolumes, Boolean force, Boolean autoMount)
   à Replay.Common.Implementation.Metadata.CommonMetadataService.GetCommonSummaryMetadata(ICommonSummaryMetadata metadata, Boolean includeNonSnapableVolumes)
   à Replay.Agent.Implementation.Metadata.AgentMetadataService.GetCurrentSummary(MetadataCredentials metadataCredentials)

I have already uninstall and reinstall AppAssure Agent, clean registry...

I didn't find answer about it yet, could you please help me?

Thank you !

  • Looks that the issue is related to metadata collection.
    "[PUT https://vsaoantivir:8006/apprecovery/api/agent/metadata/summaryMetadata]: La valeur ne peut pas être null."
    This is performed via WMI. Have you checked the if WMI is working properly? The simplest step would be attempting to restart the WMI service and see if this solves the issue.
    The name of your machine suggests that it has something to do with antivirus (i.e. AV central console). Could it be possible that the AV blocks the request?
    What do you get logged on the agent side?

    Please let us know.
  • Thank you for your answer.

    WMI service is already started, I have restarted it in cause of, same result.

    Yes it is a AV server but it targets only a repository (not AppAssure Agent repository).
    I already tried to disable AV services, reinstall AppAssure Agent (with all his dependences), tried to add it again on my core, same result.

    I have reinstall AppAssure Agent at the beginning, and since this reinstallation I cannot add it to my core anymore. Do you think I add some old infos in my core tha t I need to clear up ?

     

     AppRecoveryPM.log

  • Oh -- shame on me -- I did not understand that the issue shows up when adding to protection. I thought that the Protected Machine was not showing its metadata on its summary page on the core.

    If you are running the core on Windows 2016, you need to install the latest cumulative update.
    The October 11 one (v1607) is here: support.microsoft.com/.../3194798
    There should be newer ones available but was unable to find them.

    Additionally, you may want to check if secure boot is enabled (and disable it) both on the core and the agent. (use msinfo32.exe->System Summary->Secure Boot State)

    If you are not using Windows 2016, it may be that you have too many certificates on any of the 2 machines. To solve the issue do the following on both machines (no reboot needed).
    Navigate to:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL

    then, create a new Value
    Value name: SendTrustedIssuerList
    Value type: REG_DWORD
    Value data: 0 (False)

    This value tells Windows to send only the requested certificates for whatever connection is established, not the whole list of trusted certification authorities.

    Please let us know how it goes.
  • Yes, it's when I add my host in protection. For information, my host is a Windows Server 2012R2 DTC.

    I created this new entry in the host regestry, but you said about 2 machines, you meant the machine to add in protection and my core machine ?
  • yes, I would do it both on the core and the protected machine. It is hard to know which certificate list may be the culprit as this issue defies at time common sense.
  • I created this reg on my core end client, but I have the same issue:

     

    WARN  2017-02-28T09:16:53 [4] - Replay.Agent.Management.Authentication.AgentPairingClientCertificateAuthenticator ()
    Request client certificate thumbprint '28AAF6DCC1AE9C41C1BF85073E7B6B3D57D4FE1A' does not match previously paired client certificate thumbprint ''
    
    WARN  2017-02-28T09:16:53 [4] - Replay.Agent.Management.Authentication.AgentPairingClientCertificateAuthenticator ()
    Request client certificate thumbprint '28AAF6DCC1AE9C41C1BF85073E7B6B3D57D4FE1A' does not match previously paired client certificate thumbprint ''
    
    WARN  2017-02-28T09:16:53 [4] - Replay.Agent.Management.Authentication.AgentPairingClientCertificateAuthenticator ()
    Request client certificate thumbprint '28AAF6DCC1AE9C41C1BF85073E7B6B3D57D4FE1A' does not match previously paired client certificate thumbprint ''
    
    ERROR 2017-02-28T09:16:53 [35] - Replay.ServiceHost.Implementation.Hosting.ServiceHost (RequestUri=https://172.25.11.52:8006/apprecovery/api/agent/metadata/summaryMetadata ClientAddress=172.25.10.194:56331)
    Service Host Error: Service error while handling request [PUT https://172.25.11.52:8006/apprecovery/api/agent/metadata/summaryMetadata]: La valeur ne peut pas être null.
    Nom du paramètre : source
    Request Uri: https://172.25.11.52:8006/apprecovery/api/agent/metadata/summaryMetadata
    Client Address: 172.25.10.194:56331
    Identity: NTLM:WANAO\Administrateur
    Service: Replay.Agent.Management.Metadata.AgentMetadataManagement
    Method: GetCurrentSummary
    
    System.ArgumentNullException: La valeur ne peut pas être null.
    Nom du paramètre : source
       à System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
       à Replay.Common.Implementation.Storage.StorageMetadataWinApi.IsWinApiVolumeNotSupported(DiskMetadataWinApi diskMetadata, WinApiVolume winApiVolume)
       à Replay.Common.Implementation.Storage.StorageMetadataWinApi.BuildVolumesList(IEnumerable`1 volumesNames, Boolean includeNonSnapableVolumes)
       à Replay.Common.Implementation.Storage.StorageMetadataWinApi.PerformRefresh(Boolean force, Boolean includeReplayVirtualDisks, Boolean includeNonSnapableVolumes, Boolean autoMount)
       à Replay.Common.Implementation.Storage.StorageServiceWinApi.CreateStorageMetadata(Boolean includeReplayVirtualDisks, Boolean includeNonSnapableVolumes, Boolean force, Boolean autoMount)
       à Replay.Common.Implementation.Storage.StorageServiceBase.GetMetadata(Boolean includeReplayVirtualDisks, Boolean includeNonSnapableVolumes, Boolean force, Boolean autoMount)
       à Replay.Common.Implementation.Metadata.CommonMetadataService.GetCommonSummaryMetadata(ICommonSummaryMetadata metadata, Boolean includeNonSnapableVolumes)
       à Replay.Agent.Implementation.Metadata.AgentMetadataService.GetCurrentSummary(MetadataCredentials metadataCredentials)
    
    WARN  2017-02-28T09:16:58 [4] - Replay.Agent.Management.Authentication.AgentPairingClientCertificateAuthenticator ()
    Request client certificate thumbprint '28AAF6DCC1AE9C41C1BF85073E7B6B3D57D4FE1A' does not match previously paired client certificate thumbprint ''
    
    WARN  2017-02-28T09:16:58 [4] - Replay.Agent.Management.Authentication.AgentPairingClientCertificateAuthenticator ()
    Request client certificate thumbprint '28AAF6DCC1AE9C41C1BF85073E7B6B3D57D4FE1A' does not match previously paired client certificate thumbprint ''
    
    WARN  2017-02-28T09:16:58 [4] - Replay.Agent.Management.Authentication.AgentPairingClientCertificateAuthenticator ()
    Request client certificate thumbprint '28AAF6DCC1AE9C41C1BF85073E7B6B3D57D4FE1A' does not match previously paired client certificate thumbprint ''
    
    ERROR 2017-02-28T09:16:58 [3] - Replay.ServiceHost.Implementation.Hosting.ServiceHost (RequestUri=https://172.25.11.52:8006/apprecovery/api/agent/metadata/summaryMetadata ClientAddress=172.25.10.194:56343)
    Service Host Error: Service error while handling request [PUT https://172.25.11.52:8006/apprecovery/api/agent/metadata/summaryMetadata]: La valeur ne peut pas être null.
    Nom du paramètre : source
    Request Uri: https://172.25.11.52:8006/apprecovery/api/agent/metadata/summaryMetadata
    Client Address: 172.25.10.194:56343
    Identity: NTLM:WANAO\Administrateur
    Service: Replay.Agent.Management.Metadata.AgentMetadataManagement
    Method: GetCurrentSummary
    
    System.ArgumentNullException: La valeur ne peut pas être null.
    Nom du paramètre : source
       à System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
       à Replay.Common.Implementation.Storage.StorageMetadataWinApi.IsWinApiVolumeNotSupported(DiskMetadataWinApi diskMetadata, WinApiVolume winApiVolume)
       à Replay.Common.Implementation.Storage.StorageMetadataWinApi.BuildVolumesList(IEnumerable`1 volumesNames, Boolean includeNonSnapableVolumes)
       à Replay.Common.Implementation.Storage.StorageMetadataWinApi.PerformRefresh(Boolean force, Boolean includeReplayVirtualDisks, Boolean includeNonSnapableVolumes, Boolean autoMount)
       à Replay.Common.Implementation.Storage.StorageServiceWinApi.CreateStorageMetadata(Boolean includeReplayVirtualDisks, Boolean includeNonSnapableVolumes, Boolean force, Boolean autoMount)
       à Replay.Common.Implementation.Storage.StorageServiceBase.GetMetadata(Boolean includeReplayVirtualDisks, Boolean includeNonSnapableVolumes, Boolean force, Boolean autoMount)
       à Replay.Common.Implementation.Metadata.CommonMetadataService.GetCommonSummaryMetadata(ICommonSummaryMetadata metadata, Boolean includeNonSnapableVolumes)
       à Replay.Agent.Implementation.Metadata.AgentMetadataService.GetCurrentSummary(MetadataCredentials metadataCredentials)
    
    

  • I created this reg on my core end client, but I have the same issue:

     

    WARN  2017-02-28T09:16:53 [4] - Replay.Agent.Management.Authentication.AgentPairingClientCertificateAuthenticator ()
    Request client certificate thumbprint '28AAF6DCC1AE9C41C1BF85073E7B6B3D57D4FE1A' does not match previously paired client certificate thumbprint ''
    
    WARN  2017-02-28T09:16:53 [4] - Replay.Agent.Management.Authentication.AgentPairingClientCertificateAuthenticator ()
    Request client certificate thumbprint '28AAF6DCC1AE9C41C1BF85073E7B6B3D57D4FE1A' does not match previously paired client certificate thumbprint ''
    
    WARN  2017-02-28T09:16:53 [4] - Replay.Agent.Management.Authentication.AgentPairingClientCertificateAuthenticator ()
    Request client certificate thumbprint '28AAF6DCC1AE9C41C1BF85073E7B6B3D57D4FE1A' does not match previously paired client certificate thumbprint ''
    
    ERROR 2017-02-28T09:16:53 [35] - Replay.ServiceHost.Implementation.Hosting.ServiceHost (RequestUri=https://172.25.11.52:8006/apprecovery/api/agent/metadata/summaryMetadata ClientAddress=172.25.10.194:56331)
    Service Host Error: Service error while handling request [PUT https://172.25.11.52:8006/apprecovery/api/agent/metadata/summaryMetadata]: La valeur ne peut pas être null.
    Nom du paramètre : source
    Request Uri: https://172.25.11.52:8006/apprecovery/api/agent/metadata/summaryMetadata
    Client Address: 172.25.10.194:56331
    Identity: NTLM:WANAO\Administrateur
    Service: Replay.Agent.Management.Metadata.AgentMetadataManagement
    Method: GetCurrentSummary
    
    System.ArgumentNullException: La valeur ne peut pas être null.
    Nom du paramètre : source
       à System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
       à Replay.Common.Implementation.Storage.StorageMetadataWinApi.IsWinApiVolumeNotSupported(DiskMetadataWinApi diskMetadata, WinApiVolume winApiVolume)
       à Replay.Common.Implementation.Storage.StorageMetadataWinApi.BuildVolumesList(IEnumerable`1 volumesNames, Boolean includeNonSnapableVolumes)
       à Replay.Common.Implementation.Storage.StorageMetadataWinApi.PerformRefresh(Boolean force, Boolean includeReplayVirtualDisks, Boolean includeNonSnapableVolumes, Boolean autoMount)
       à Replay.Common.Implementation.Storage.StorageServiceWinApi.CreateStorageMetadata(Boolean includeReplayVirtualDisks, Boolean includeNonSnapableVolumes, Boolean force, Boolean autoMount)
       à Replay.Common.Implementation.Storage.StorageServiceBase.GetMetadata(Boolean includeReplayVirtualDisks, Boolean includeNonSnapableVolumes, Boolean force, Boolean autoMount)
       à Replay.Common.Implementation.Metadata.CommonMetadataService.GetCommonSummaryMetadata(ICommonSummaryMetadata metadata, Boolean includeNonSnapableVolumes)
       à Replay.Agent.Implementation.Metadata.AgentMetadataService.GetCurrentSummary(MetadataCredentials metadataCredentials)
    
    WARN  2017-02-28T09:16:58 [4] - Replay.Agent.Management.Authentication.AgentPairingClientCertificateAuthenticator ()
    Request client certificate thumbprint '28AAF6DCC1AE9C41C1BF85073E7B6B3D57D4FE1A' does not match previously paired client certificate thumbprint ''
    
    WARN  2017-02-28T09:16:58 [4] - Replay.Agent.Management.Authentication.AgentPairingClientCertificateAuthenticator ()
    Request client certificate thumbprint '28AAF6DCC1AE9C41C1BF85073E7B6B3D57D4FE1A' does not match previously paired client certificate thumbprint ''
    
    WARN  2017-02-28T09:16:58 [4] - Replay.Agent.Management.Authentication.AgentPairingClientCertificateAuthenticator ()
    Request client certificate thumbprint '28AAF6DCC1AE9C41C1BF85073E7B6B3D57D4FE1A' does not match previously paired client certificate thumbprint ''
    
    ERROR 2017-02-28T09:16:58 [3] - Replay.ServiceHost.Implementation.Hosting.ServiceHost (RequestUri=https://172.25.11.52:8006/apprecovery/api/agent/metadata/summaryMetadata ClientAddress=172.25.10.194:56343)
    Service Host Error: Service error while handling request [PUT https://172.25.11.52:8006/apprecovery/api/agent/metadata/summaryMetadata]: La valeur ne peut pas être null.
    Nom du paramètre : source
    Request Uri: https://172.25.11.52:8006/apprecovery/api/agent/metadata/summaryMetadata
    Client Address: 172.25.10.194:56343
    Identity: NTLM:WANAO\Administrateur
    Service: Replay.Agent.Management.Metadata.AgentMetadataManagement
    Method: GetCurrentSummary
    
    System.ArgumentNullException: La valeur ne peut pas être null.
    Nom du paramètre : source
       à System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
       à Replay.Common.Implementation.Storage.StorageMetadataWinApi.IsWinApiVolumeNotSupported(DiskMetadataWinApi diskMetadata, WinApiVolume winApiVolume)
       à Replay.Common.Implementation.Storage.StorageMetadataWinApi.BuildVolumesList(IEnumerable`1 volumesNames, Boolean includeNonSnapableVolumes)
       à Replay.Common.Implementation.Storage.StorageMetadataWinApi.PerformRefresh(Boolean force, Boolean includeReplayVirtualDisks, Boolean includeNonSnapableVolumes, Boolean autoMount)
       à Replay.Common.Implementation.Storage.StorageServiceWinApi.CreateStorageMetadata(Boolean includeReplayVirtualDisks, Boolean includeNonSnapableVolumes, Boolean force, Boolean autoMount)
       à Replay.Common.Implementation.Storage.StorageServiceBase.GetMetadata(Boolean includeReplayVirtualDisks, Boolean includeNonSnapableVolumes, Boolean force, Boolean autoMount)
       à Replay.Common.Implementation.Metadata.CommonMetadataService.GetCommonSummaryMetadata(ICommonSummaryMetadata metadata, Boolean includeNonSnapableVolumes)
       à Replay.Agent.Implementation.Metadata.AgentMetadataService.GetCurrentSummary(MetadataCredentials metadataCredentials)
    
    

  • Hi j.delagoutte:
    For some reason your legitimate posts have been blocked as SPAM -- I have released them. Please open a case with support. I am available to work with you today and get to the bottom of the issue.

    Look at this error:

    Replay.Agent.Management.Authentication.AgentPairingClientCertificateAuthenticator ()
    Request client certificate thumbprint '28AAF6DCC1AE9C41C1BF85073E7B6B3D57D4FE1A' 
    does not match previously paired client certificate thumbprint ''

    Looks that there is a certificate thumbprint issue, (Previously paired certificate thumbprint is null) but some in depth troubleshooting is needed to find out what is going on
  • Thank you for your time, I'm gonna explain what Tudor did to solve my issue:
    I had on my VM a RamDisk
    Tudor change this key on the guest machine: HKEY_LOCAL_MACHINE\SOFTWARE\AppRecovery\AgentSettings\EnableWinApiServiceMetadata 1 ==> 0

    It's OK now!