Essentials服务器2016 -0使用Authtype的Azure恢复向导失败无效 [英] Essentials Server 2016 -0 Azure recovery wizard failure with Authtype is invalid

查看:84
本文介绍了Essentials服务器2016 -0使用Authtype的Azure恢复向导失败无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好, 


我一直在努力让Azure网站恢复工作在干净安装的Essentials 2016上进行所有更新。我试图在单个VM上启用保护......它似乎正在处理这个问题一段时间,然后死掉
'未知错误'。从仪表板日志中,它似乎是某种类型的证书问题。 < AddVMHost>步骤失败,Authtype在资源证书中无效。


我找不到有关类似问题的任何信息 - 我尝试下载代理,并手动生成和安装Vault凭据。这也会因"凭证无效"消息而失败。


我知道服务器上的时间/日期错误可能会弄乱这一点,但这一切都是正确的。


亏本并且浪费了很多时间 - 任何线索?


感谢您的时间 - 记录如下。





6188] 190209.123613.0332:RecoveryServiceAdapter:Create EssentialsSite

[5312] 190209.123613.2832:RecoveryServiceAdapter:GetVaultCredentialFilePathAsync start

[13436] 190209.123613 .4082:RecoveryServiceAdapter:GetVaultCredentialFilePathAsync:生成证书

[13436] 190209.123613.8613:RecoveryServiceAdapter:GetVaultCredentialFilePathAsync:Upload cert

[6188] 190209.123614.5801:RecoveryServiceProvider:< AddVMHost> ; b__0:异常:System.AggregateException:发生一个或多个错误。 ---> Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.AzureServiceResponseException:AuthType为
在ResourceCertificate中无效。

AuthType在ResourceCertificate中无效,请尝试使用有效值。

    at Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.ARM.AzureResourceManagementClient。< HandleGeneralErrorResponseAsync> d__24.MoveNext()

---从抛出异常的上一个位置开始的堆栈跟踪结束---

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

    at Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.ARM.AzureResourceManagementClient。< SendRequestAsync> d__21`1.MoveNext()

---从抛出异常的上一个位置开始的堆栈跟踪结束 - -

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

    at Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.ARM.AzureResourceManagementClient。< GetResourceResponseAsync> d__15`1.MoveNext()

---从抛出异常的上一个位置开始的堆栈跟踪结束 - -

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

    at Microsoft.WindowsServerSolutions.Productivity.ARM.RecoveryServices.VaultExtendedInfoOperations。< UploadCertificateAsync> d__5.MoveNext()

---从抛出异常的上一个位置开始的堆栈跟踪结束---

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

    at Microsoft.WindowsServerSolutions.RecoveryService.Backend.RecoveryServiceARMAdapter。< GetVaultCredentialFilePathAsync> d__40.MoveNext()

---从抛出异常的上一个位置开始的堆栈跟踪结束---

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

    at Microsoft.WindowsServerSolutions.RecoveryService.Backend.RecoveryServiceARMAdapter。< RegisterHostToSiteAsync> d__36.MoveNext()

    ---内部异常堆栈跟踪结束---

    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout,CancellationToken cancellationToken)

    at Microsoft.WindowsServerSolutions.RecoveryService.Backend.RecoveryServiceProviderCore.AddVMHost(String hostName)

    at Microsoft.WindowsServerSolutions.RecoveryService.Backend.RecoveryServiceProvider.TryAndCatch(Action`1 act)

---> (内部异常#0)Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.AzureServiceResponseException:AuthType在ResourceCertificate中无效。

AuthType在ResourceCertificate中无效,请尝试使用有效值。

&NBSP;   at Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.ARM.AzureResourceManagementClient。< HandleGeneralErrorResponseAsync> d__24.MoveNext()

---从抛出异常的上一个位置开始的堆栈跟踪结束---

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

    at Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.ARM.AzureResourceManagementClient。< SendRequestAsync> d__21`1.MoveNext()

---从抛出异常的上一个位置开始的堆栈跟踪结束 - -

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

    at Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.ARM.AzureResourceManagementClient。< GetResourceResponseAsync> d__15`1.MoveNext()

---从抛出异常的上一个位置开始的堆栈跟踪结束 - -

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

    at Microsoft.WindowsServerSolutions.Productivity.ARM.RecoveryServices.VaultExtendedInfoOperations。< UploadCertificateAsync> d__5.MoveNext()

---从抛出异常的上一个位置开始的堆栈跟踪结束---

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

    at Microsoft.WindowsServerSolutions.RecoveryService.Backend.RecoveryServiceARMAdapter。< GetVaultCredentialFilePathAsync> d__40.MoveNext()

---从抛出异常的上一个位置开始的堆栈跟踪结束---

    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)

    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

    at Microsoft.WindowsServerSolutions.RecoveryService.Backend.RecoveryServiceARMAdapter。< RegisterHostToSiteAsync> d__36.MoveNext()< ---



解决方案

您好,


请查看
https://www.itpromentor.com/asr-wse-part-2/
,我不确定它是否可以帮到你



  • 确保要保护的Hyper-V中的虚拟机 不能有任何空格或特殊名称中的字符
  • 尝试更新文件库注册密钥

希望它能为您提供帮助


Hi All, 

I have been struggling with trying to get Azure site recovery working on a clean-install of Essentials 2016 with all updates. I get as far as trying to enable the protection on an individual VM...it appears to be processing this for a while, then dies with 'unknown error'. From the dashboard logs, it seems to be some type of certificate problem. The <AddVMHost> step fails with Authtype is invalid in resource certificate.

I can't find any information on similar problems - I tried downloading the agent, and generating and installing vault credentials manually. This also fails with a 'credentials invalid' message.

I know that time/date errors on servers can mess with this but that is all correct.

At a loss and wasted many hours- any clues?

Thanks for your time - logs follow.


6188] 190209.123613.0332: RecoveryServiceAdapter: Create EssentialsSite
[5312] 190209.123613.2832: RecoveryServiceAdapter: GetVaultCredentialFilePathAsync start
[13436] 190209.123613.4082: RecoveryServiceAdapter: GetVaultCredentialFilePathAsync: Generate cert
[13436] 190209.123613.8613: RecoveryServiceAdapter: GetVaultCredentialFilePathAsync: Upload cert
[6188] 190209.123614.5801: RecoveryServiceProvider: <AddVMHost>b__0:Exception:System.AggregateException: One or more errors occurred. ---> Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.AzureServiceResponseException: AuthType is Invalid in ResourceCertificate.
AuthType is Invalid in ResourceCertificate, please try with valid values.
   at Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.ARM.AzureResourceManagementClient.<HandleGeneralErrorResponseAsync>d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.ARM.AzureResourceManagementClient.<SendRequestAsync>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.ARM.AzureResourceManagementClient.<GetResourceResponseAsync>d__15`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.WindowsServerSolutions.Productivity.ARM.RecoveryServices.VaultExtendedInfoOperations.<UploadCertificateAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.WindowsServerSolutions.RecoveryService.Backend.RecoveryServiceARMAdapter.<GetVaultCredentialFilePathAsync>d__40.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.WindowsServerSolutions.RecoveryService.Backend.RecoveryServiceARMAdapter.<RegisterHostToSiteAsync>d__36.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at Microsoft.WindowsServerSolutions.RecoveryService.Backend.RecoveryServiceProviderCore.AddVMHost(String hostName)
   at Microsoft.WindowsServerSolutions.RecoveryService.Backend.RecoveryServiceProvider.TryAndCatch(Action`1 act)
---> (Inner Exception #0) Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.AzureServiceResponseException: AuthType is Invalid in ResourceCertificate.
AuthType is Invalid in ResourceCertificate, please try with valid values.
   at Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.ARM.AzureResourceManagementClient.<HandleGeneralErrorResponseAsync>d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.ARM.AzureResourceManagementClient.<SendRequestAsync>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.WindowsServerSolutions.Productivity.AzureServiceAdapter.ARM.AzureResourceManagementClient.<GetResourceResponseAsync>d__15`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.WindowsServerSolutions.Productivity.ARM.RecoveryServices.VaultExtendedInfoOperations.<UploadCertificateAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.WindowsServerSolutions.RecoveryService.Backend.RecoveryServiceARMAdapter.<GetVaultCredentialFilePathAsync>d__40.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.WindowsServerSolutions.RecoveryService.Backend.RecoveryServiceARMAdapter.<RegisterHostToSiteAsync>d__36.MoveNext()<---


解决方案

Hello,

check this please https://www.itpromentor.com/asr-wse-part-2/ , I am not sure if it can help you

  • make sure that Virtual Machines in Hyper-V that you want to protect cannot have any spaces or special characters in the name
  • try to update vault registration key

hope it will help you


这篇关于Essentials服务器2016 -0使用Authtype的Azure恢复向导失败无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆