<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Azure SQL connection works in TEST, fails in PROD env in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Azure-SQL-connection-works-in-TEST-fails-in-PROD-env/m-p/2143183#M8327</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/209188"&gt;@martinkaru&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P&gt;Let's compare the 2 environments to see if any settings caused the difference:&lt;/P&gt;
&lt;P&gt;1. Export the task to JSON file and compare the 2 files (or download the task Diagnostics Packages then compare the two tasks JSON file definition)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1701417873874.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/120868i085C3A7D0E9E1308/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1701417873874.png" alt="john_wang_0-1701417873874.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Set TARGET_APPLY &amp;amp; TARGET_LOAD to Verbose in the 2 tasks, run them and then compare the two task log files to understand why the behavior is different.&lt;/P&gt;
&lt;DIV id="tinyMceEditor_38c9759b47d2fcjohn_wang_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_2-1701418142207.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/120870i468448442535894C/image-size/large?v=v2&amp;amp;px=999" role="button" title="john_wang_2-1701418142207.png" alt="john_wang_2-1701418142207.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. If you still need help, please open the support ticket and attach the above information/files, Support Team would like to help on further investigations.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Dec 2023 08:09:48 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2023-12-01T08:09:48Z</dc:date>
    <item>
      <title>Azure SQL connection works in TEST, fails in PROD env</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Azure-SQL-connection-works-in-TEST-fails-in-PROD-env/m-p/2143162#M8325</link>
      <description>&lt;P&gt;We're loading data in batches from an on-premise Oracle DB to a cloud Azure SQL DB.&lt;BR /&gt;2 environments: TEST and PROD.&lt;BR /&gt;Both have the same connection to the Azure SQL DB (same service account, same url, same DB even).&lt;/P&gt;
&lt;P&gt;In PROD, after stopping the task, it will not start again.&lt;BR /&gt;In TEST, the task can start. Tested with other sources as well.&lt;/P&gt;
&lt;P&gt;When we start the task in PROD, it gets an error:&lt;BR /&gt;Failed while preparing stream component 'target-xx-prod'.&lt;BR /&gt;[ODBC Driver 18 for SQL Server] TCP Provider: An existing connection was forcibly closed by the remote host.&lt;/P&gt;
&lt;P&gt;"Test connection" works in both PROD and TEST.&lt;BR /&gt;The service account can also BROWSE the databases (in the endpoint setup view).&lt;/P&gt;
&lt;P&gt;PROD VM can connect to the DB directly (via PowerShell) and run the SQL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What's the probable cause (driver? authentication?)?&lt;BR /&gt;We changed the certificates in both PROD and TEST. I'm rather certain that PROD Qlik Service hasn't been restarted afterwards.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 07:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Azure-SQL-connection-works-in-TEST-fails-in-PROD-env/m-p/2143162#M8325</guid>
      <dc:creator>martinkaru</dc:creator>
      <dc:date>2023-12-01T07:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Azure SQL connection works in TEST, fails in PROD env</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Azure-SQL-connection-works-in-TEST-fails-in-PROD-env/m-p/2143183#M8327</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/209188"&gt;@martinkaru&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P&gt;Let's compare the 2 environments to see if any settings caused the difference:&lt;/P&gt;
&lt;P&gt;1. Export the task to JSON file and compare the 2 files (or download the task Diagnostics Packages then compare the two tasks JSON file definition)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1701417873874.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/120868i085C3A7D0E9E1308/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1701417873874.png" alt="john_wang_0-1701417873874.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Set TARGET_APPLY &amp;amp; TARGET_LOAD to Verbose in the 2 tasks, run them and then compare the two task log files to understand why the behavior is different.&lt;/P&gt;
&lt;DIV id="tinyMceEditor_38c9759b47d2fcjohn_wang_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_2-1701418142207.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/120870i468448442535894C/image-size/large?v=v2&amp;amp;px=999" role="button" title="john_wang_2-1701418142207.png" alt="john_wang_2-1701418142207.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. If you still need help, please open the support ticket and attach the above information/files, Support Team would like to help on further investigations.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 08:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Azure-SQL-connection-works-in-TEST-fails-in-PROD-env/m-p/2143183#M8327</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-12-01T08:09:48Z</dc:date>
    </item>
  </channel>
</rss>

