Error Message

Hyper-V failed to enable replication for the virtual machine <VMName>. The operation timed out. (0x00002EE2). (Virtual Machine ID <VM Id>)

Possible Causes

Hyper-V Replication won't support reverse proxy and it supports forward proxy only with Certificate -based (HTTPS) authentication.

If the authentication scheme is Kerberos and a forward proxy is used at the primary site, enabling replication will fail.

Resolution

  1. Bypass proxy server using "ByPassproxyServer" parameter in Enable_VMREplication PS cmdlet (This option is available only through PowerShell).
  2. Use Certificate-based authentication when a forward proxy is used at the primary site.

More resources

  1. http://blogs.technet.com/b/virtualization/archive/2014/02/09/proxy-server-on-primary-site.aspx
  2. http://blogs.technet.com/b/virtualization/archive/2014/02/17/proxies-and-hvr-certificate-based-authentication.aspx