{"id":1947,"date":"2021-06-24T14:37:14","date_gmt":"2021-06-24T12:37:14","guid":{"rendered":"https:\/\/itsimple.info\/?p=1947"},"modified":"2021-06-24T14:37:16","modified_gmt":"2021-06-24T12:37:16","slug":"hyper-v-replica-reverse-replication-with-certificate-authentication-hyper-v-failed-to-establish-a-connection-with-the-replica-server-on-port-443-error-t","status":"publish","type":"post","link":"https:\/\/itsimple.info\/?p=1947","title":{"rendered":"Hyper-V Replica Reverse Replication with Certificate Authentication \u2018Hyper-V failed to establish a connection with the Replica server \u2018\u2018 on port \u2018443\u2019. Error: The connection with the server was terminated abnormally (0x00002EFE).\u2019"},"content":{"rendered":"\n<p>When trying enable replication between hyper-v servers you might get this error \u201cThe connection with the server was terminated abnormally (0x00002EFE)\u201d <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"704\" height=\"533\" src=\"https:\/\/itsimple.info\/wp-content\/uploads\/2021\/06\/HyperV-RepError.png\" alt=\"\" class=\"wp-image-1948\" srcset=\"https:\/\/itsimple.info\/wp-content\/uploads\/2021\/06\/HyperV-RepError.png 704w, https:\/\/itsimple.info\/wp-content\/uploads\/2021\/06\/HyperV-RepError-300x227.png 300w, https:\/\/itsimple.info\/wp-content\/uploads\/2021\/06\/HyperV-RepError-131x98.png 131w\" sizes=\"auto, (max-width: 704px) 100vw, 704px\" \/><\/figure>\n\n\n\n<p>This error usually means there is network problem like firewall blocking but it could be happening from other reason as wall, make sure :<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Firewall open on the replica server with the right ports, build in rules for hyper-v replication port enabled.<\/li><li>The hyper-v version on the replica is the same or newer&supported then the incoming hyper-v server.<\/li><li>If it is certificate base authentication, make sure all the servers involve included as subjects in the certificate the short name+FQDN name including the name of the hyper-v broker (if you are replicating from cluster), also make sure that you have set the right certificate on the replica server.  <\/li><\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/itsimple.info\/wp-content\/uploads\/2021\/06\/HyperV-RepSettings.png\" alt=\"\" class=\"wp-image-1949\" width=\"399\" height=\"299\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>As last option try enable replication from Powershell as I have notice that this error can happen if there were replication to dead\/missing target :<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Enable-VMReplication VN-name -ReplicaServerName \"Replica Server Name\" -AuthenticationType Certificate -CertificateThumbprint \"22e9b591e5785e15e............\" -ReplicaServerPort 443<\/code><\/pre>\n\n\n\n<p>Enable for all the VM on host :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-VM -ComputerName \"Hyper-v host name\" | Enable-VMReplication -ReplicaServerName \"Replica Server Name\" -AuthenticationType Certificate -CertificateThumbprint \"22e9b591e5785e15e............\" -ReplicaServerPort 443<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote class=\"has-text-color has-vivid-green-cyan-color\"><p><strong>Good Luck<\/strong><\/p><\/blockquote><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>When trying enable replication between hyper-v servers you might get this error \u201cThe connection with the server was terminated abnormally (0x00002EFE)\u201d This error usually means there is network problem like firewall blocking but it could be happening from other reason as wall, make sure : Firewall open on the replica server with the right ports, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,4,18,14,15],"tags":[],"class_list":["post-1947","post","type-post","status-publish","format-standard","hentry","category-hyper-v","category-tech","category-virtualization","category-windows","category-windows-server"],"_links":{"self":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/1947","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1947"}],"version-history":[{"count":0,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/1947\/revisions"}],"wp:attachment":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}