{"id":1070,"date":"2022-12-15T23:31:37","date_gmt":"2022-12-15T23:31:37","guid":{"rendered":"https:\/\/craftcookcode.com\/?p=1070"},"modified":"2024-07-10T02:34:53","modified_gmt":"2024-07-10T02:34:53","slug":"why-cant-qlik-replicate-and-enterprise-manager-be-friends","status":"publish","type":"post","link":"https:\/\/craftcookcode.com\/?p=1070","title":{"rendered":"Why can&#8217;t Qlik Replicate and Enterprise manager be friends?"},"content":{"rendered":"\n<p>A nice quiet evening with the family was interrupted with a critical alert coming through my phone.<\/p>\n\n\n\n<p>Once again server patching had knocked off our Qlik Replicate node.<\/p>\n\n\n\n<p>Logging in I could see that Enterprise manager could not reach one of our nodes with the following error message in the log:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n2022-12-15 19:15:40 &#x5B;ServerDto ] &#x5B;ERROR] Test connection failed for server:MY_QR_CLUSTER. Message:&#039;Unable to connect to the remote serverA connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xxx.xxx.xxx.xxx:443&#039;.\n<\/pre><\/div>\n\n\n<p>I have seen this problem before and it is usually resolved by:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Failing over the QR windows cluster<\/li>\n\n\n\n<li>Restarting the new passive node<\/li>\n<\/ol>\n\n\n\n<p>Our IT team is aware of the problem and have been researching into a cause and a fix.&nbsp; Their prevailing theory was that when the cluster gets failed over in server patching &#8211; there are some residual connections to the previous active node.<\/p>\n\n\n\n<p>But tonight after multiple failovers and stopping and starting the QR roles &#8211; still Enterprise manager couldn&#8217;t connect to that QR node.<\/p>\n\n\n\n<p>I did the following checks:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The log repsrv.log log file had no error messages and the service Web UI service was active<\/li>\n\n\n\n<li>From the Enterprise manager; I could ping the QR cluster address and the active node successfully\u00a0<\/li>\n\n\n\n<li>From a Chrome session on the Enterprise manager server; I <strong><em>could not get<\/em><\/strong> to the QR Web console<\/li>\n\n\n\n<li>From a Chrome session on the QR server; <em><strong>I could get<\/strong><\/em> to the QR Web console<\/li>\n<\/ol>\n\n\n\n<p>A senior IT member joined the troubleshooting call and suggested that we reboot the Enterprise manager server.<\/p>\n\n\n\n<p>So we did and then we couldn&#8217;t access Enterprise manager console.<\/p>\n\n\n\n<p>At this point I wanted to quit IT and become a nomad in Mongolia.<\/p>\n\n\n\n<p>Then the senior IT member worked it out.<\/p>\n\n\n\n<p><em>The Windows server was randomly turning on the Windows Firewall<\/em><\/p>\n\n\n\n<p>This was blocking our inbound connections; making the console inaccessible from other locations &#8211; except when you were logged onto the server.<\/p>\n\n\n\n<p>This also explains why when this problem previously arise; restarting the server will eventually work because the server group policy will eventually get applied and turn off the Windows firewall.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Lessons learnt<\/h3>\n\n\n\n<p>If you come above this problem in your environment try accessing the QR console from multiple locations:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>From the Enterprise Manager server<\/li>\n\n\n\n<li>From within the QR server with a local address like: https:\/\/localhost\/attunityreplicate\/login\/<\/li>\n<\/ul>\n\n\n\n<p>Good luck<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A nice quiet evening with the family was interrupted with a critical alert coming through my phone. Once again server patching had knocked off our Qlik&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":1076,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[13,16],"tags":[],"class_list":["post-1070","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code","category-qlik-replicate"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/craftcookcode.com\/index.php?rest_route=\/wp\/v2\/posts\/1070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/craftcookcode.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/craftcookcode.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/craftcookcode.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/craftcookcode.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1070"}],"version-history":[{"count":8,"href":"https:\/\/craftcookcode.com\/index.php?rest_route=\/wp\/v2\/posts\/1070\/revisions"}],"predecessor-version":[{"id":1456,"href":"https:\/\/craftcookcode.com\/index.php?rest_route=\/wp\/v2\/posts\/1070\/revisions\/1456"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/craftcookcode.com\/index.php?rest_route=\/wp\/v2\/media\/1076"}],"wp:attachment":[{"href":"https:\/\/craftcookcode.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/craftcookcode.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/craftcookcode.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}