<?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: LogStream Task Error - cdc_opensess in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/LogStream-Task-Error-cdc-opensess/m-p/2084555#M6469</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/153407"&gt;@FrancoHR&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for update.&lt;/P&gt;
&lt;P&gt;While we simulate Replicate to call the function by SQL&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;execute function informix.cdc_opensess("alpha_vida" , 0 , 0 , 256 , 1 , 1 );&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;we got:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;The results is&amp;nbsp;&lt;SPAN&gt;-83721&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Trying the suggested query the same error was obtained(-83721).&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;looks like an environment issue as this code is out of Replicate. I'm not sure if all tasks run on the same Replicate Server or different ones. if different machines then please make sure Replicate services was restarted after "&lt;SPAN&gt;setnet32&lt;/SPAN&gt;" changed any settings.&lt;/P&gt;
&lt;P&gt;If all the tasks are running on the same Replicate server then we may trace the issue by comparison:&lt;/P&gt;
&lt;P&gt;1- Export Task JSON file and compare the definition&lt;/P&gt;
&lt;P&gt;2- Set the 2 tasks contains same table (eg 1 or 2 tables) to see how about&lt;/P&gt;
&lt;P&gt;3- Replace the source endpoint between the 2 test tasks to cross-check what's the difference&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2023 01:39:40 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2023-06-16T01:39:40Z</dc:date>
    <item>
      <title>LogStream Task Error - cdc_opensess</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/LogStream-Task-Error-cdc-opensess/m-p/2083453#M6426</link>
      <description>&lt;P&gt;A client has an error when trying to full load a logstream task. As soon as the execution starts, it crashes.&lt;BR /&gt;Any idea why this is happening? Reviewing the logs, a cdc_opensess error is observed. I attach the logs.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 18:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/LogStream-Task-Error-cdc-opensess/m-p/2083453#M6426</guid>
      <dc:creator>FrancoHR</dc:creator>
      <dc:date>2023-06-14T18:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: LogStream Task Error - cdc_opensess</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/LogStream-Task-Error-cdc-opensess/m-p/2083506#M6429</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/153407"&gt;@FrancoHR&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out.&lt;/P&gt;
&lt;P&gt;I'm not sure if this endpoint ever works or not. From the task log file line #80 we noticed:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[SOURCE_CAPTURE ]I: Error in 'cdc_opensess': API retval = -83721, CDC error = 'UNKNOWN'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The error code &lt;FONT face="courier new,courier"&gt;-83721&amp;nbsp;&lt;/FONT&gt;&lt;A title="code -83721&amp;nbsp;meaning in IBM docs" href="https://www.ibm.com/docs/en/informix-servers/12.10?topic=guide-change-data-capture-error-codes" target="_blank" rel="noopener"&gt;code -83721&amp;nbsp;meaning in IBM docs&lt;/A&gt;&lt;/P&gt;
&lt;TABLE class="table bx--data-table" style="background-color: lightgrey; border-style: none;" border="1" summary="" frame="border" rules="all" cellspacing="0" cellpadding="4"&gt;
&lt;TBODY class="tbody"&gt;
&lt;TR class="row"&gt;
&lt;TD valign="top" class="entry"&gt;CDC_E_ARG1&lt;/TD&gt;
&lt;TD valign="top" class="entry"&gt;The first parameter passed to the function is not valid.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first parameter in function&amp;nbsp;&lt;FONT face="courier new,courier"&gt;cdc_opensess&lt;/FONT&gt; is "server name". In the task log file the connection string is "SERVER=alpha_vida". So let's focus on "alpha_vida" first:&lt;/P&gt;
&lt;P&gt;1- is this a standalone server name, or part of an HDR cluster?&lt;/P&gt;
&lt;P&gt;2- if it's defined by using program "setnet32"?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3- how about if you try to access the function manually by SQL:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;execute function informix.cdc_opensess("alpha_vida" , 0 , 0 , 256 , 1 , 1 );&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;BTW, I'd like to suggest you open support ticket because all attachments in community are public to all users, maybe there are some sensitive information in files.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 03:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/LogStream-Task-Error-cdc-opensess/m-p/2083506#M6429</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-06-14T03:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: LogStream Task Error - cdc_opensess</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/LogStream-Task-Error-cdc-opensess/m-p/2083935#M6445</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;1. Its&amp;nbsp;&lt;SPAN&gt;standalone server name.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp;Yes, it is defined in setnet32.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3.&amp;nbsp;I'm still waiting for this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I checked the endpoints and I have a successful connection. Today I noticed that there are other tasks that work with that endpoint and have no problems. There are only a few tasks, which work with said endpoint, that are aware of the cdc_opensess error.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 18:31:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/LogStream-Task-Error-cdc-opensess/m-p/2083935#M6445</guid>
      <dc:creator>FrancoHR</dc:creator>
      <dc:date>2023-06-14T18:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: LogStream Task Error - cdc_opensess</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/LogStream-Task-Error-cdc-opensess/m-p/2084093#M6454</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/153407"&gt;@FrancoHR&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update. Please keep us posted if you need any additional assistance.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 05:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/LogStream-Task-Error-cdc-opensess/m-p/2084093#M6454</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-06-15T05:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: LogStream Task Error - cdc_opensess</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/LogStream-Task-Error-cdc-opensess/m-p/2084426#M6464</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The results is&amp;nbsp;&lt;SPAN&gt;-83721&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Trying the suggested query the same error was obtained(-83721). &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Any idea what it could be? As I mentioned, there are 5 tasks that have this origin and there are 3 tasks that present this error and the others are working correctly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Update: Could it be that there is a table without the active cdc mode? Do you know how to verify that all tables have cdc mode enabled in Informix 11.50?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 21:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/LogStream-Task-Error-cdc-opensess/m-p/2084426#M6464</guid>
      <dc:creator>FrancoHR</dc:creator>
      <dc:date>2023-06-15T21:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: LogStream Task Error - cdc_opensess</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/LogStream-Task-Error-cdc-opensess/m-p/2084551#M6467</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;We confirm that all the tables (Informix) have the cdc mode enabled.&lt;/P&gt;
&lt;P&gt;Note that the affected logstream tasks have some tables in common.&lt;BR /&gt;What happens if I have the same table in two logstream tasks? I tried this scenario in a test environment with an Oracle source and I didn't get any errors (I didn't try with Informix because I don't have a test environment prepared with this database).&lt;/P&gt;
&lt;P&gt;Currently the affected tasks are stopped but when I try to give it full load the cdc_opensess error still occurs.&lt;/P&gt;
&lt;P&gt;Any advice?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 01:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/LogStream-Task-Error-cdc-opensess/m-p/2084551#M6467</guid>
      <dc:creator>FrancoHR</dc:creator>
      <dc:date>2023-06-16T01:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: LogStream Task Error - cdc_opensess</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/LogStream-Task-Error-cdc-opensess/m-p/2084555#M6469</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/153407"&gt;@FrancoHR&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for update.&lt;/P&gt;
&lt;P&gt;While we simulate Replicate to call the function by SQL&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;execute function informix.cdc_opensess("alpha_vida" , 0 , 0 , 256 , 1 , 1 );&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;we got:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;The results is&amp;nbsp;&lt;SPAN&gt;-83721&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Trying the suggested query the same error was obtained(-83721).&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;looks like an environment issue as this code is out of Replicate. I'm not sure if all tasks run on the same Replicate Server or different ones. if different machines then please make sure Replicate services was restarted after "&lt;SPAN&gt;setnet32&lt;/SPAN&gt;" changed any settings.&lt;/P&gt;
&lt;P&gt;If all the tasks are running on the same Replicate server then we may trace the issue by comparison:&lt;/P&gt;
&lt;P&gt;1- Export Task JSON file and compare the definition&lt;/P&gt;
&lt;P&gt;2- Set the 2 tasks contains same table (eg 1 or 2 tables) to see how about&lt;/P&gt;
&lt;P&gt;3- Replace the source endpoint between the 2 test tasks to cross-check what's the difference&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 01:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/LogStream-Task-Error-cdc-opensess/m-p/2084555#M6469</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-06-16T01:39:40Z</dc:date>
    </item>
  </channel>
</rss>

