<?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: RequireJs resources import error with QS version &amp;gt; August 2024 in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/RequireJs-resources-import-error-with-QS-version-gt-August-2024/m-p/2422472#M19982</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/74474"&gt;@catalin&lt;/a&gt;&amp;nbsp;- I spoke too soon, though it is&amp;nbsp;now actually fixed in &lt;A href="https://community.qlik.com/t5/Release-Notes/Sense-Enterprise-on-Windows-release-notes-February-2024-Initial/ta-p/2417825#:~:text=mashups%20containing%20containers.-,QB%2D24345,-Qlik%20Sense%3A%20Mashups" target="_blank" rel="noopener"&gt;February 2024 IR via&amp;nbsp;&lt;SPAN&gt;QB-24345&lt;/SPAN&gt;&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The bug &lt;EM&gt;should&lt;/EM&gt; only surface if you are running the mashup/webapp on the same host as your Sense server, but on different ports.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2024 16:11:45 GMT</pubDate>
    <dc:creator>jprdonnelly</dc:creator>
    <dc:date>2024-02-22T16:11:45Z</dc:date>
    <item>
      <title>RequireJs resources import error with QS version &gt; August 2024</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/RequireJs-resources-import-error-with-QS-version-gt-August-2024/m-p/2415872#M19811</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We have a strange problem that did not occur with any version of QlikSense until August 2023.&lt;/P&gt;
&lt;P&gt;We are using various QS APIs to integrate some visuals in a Blazor page.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In _Host.cshtml we are using:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; &amp;lt;script src="js/require.js"&amp;gt;&amp;lt;/script&amp;gt;
 &amp;lt;script src="js/qlikInterop.js"&amp;gt;&amp;lt;/script&amp;gt;  &lt;/LI-CODE&gt;
&lt;P&gt;In our interop .js file we have:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;var config = {
  port: "443",
  isSecure: true,
  identity: generateRandomIdentity(16),
};
require.config({
        waitSeconds: 200,
        baseUrl:
          (config.isSecure ? "https://" : "http://") +
          host +
          (config.port ? ":" + config.port : "") +
          prefix +
          "resources",
      });
      require(["js/qlik"], function (qlik) {
        let resultTooLarge = false;
        qlik.setOnError(function (error) {
          if (error.message == "Result too large") {
            resultTooLarge = true;
          }
          console.error(error);
        });

        qlik.theme.apply(theme).then(function (result) {
          console.log(theme);
          console.log("theme applied with result: ", result);
... so on and so forth.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Blazor app is hosted on localhost, with a specific port.&lt;/P&gt;
&lt;P&gt;Let's suppose &lt;A href="https://localhost:5055" target="_blank"&gt;https://localhost:5055&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Now, when RequireJS tries to load modules, it does not use the baseUrl default 443 port and always tries with&amp;nbsp;&lt;A href="https://localhost:5055" target="_blank"&gt;https://localhost:5055&lt;/A&gt;/virtual_proxy_prefix/resources/blabla instead&amp;nbsp;&lt;A href="https://localhost/virtual_proxy_prefix/resources/blabla," target="_blank"&gt;https://localhost/virtual_proxy_prefix/resources/blabla,&lt;/A&gt;&amp;nbsp;thus ending in an error because, ofc, it cannot find the required resource.&lt;/P&gt;
&lt;P data-unlink="true"&gt;See image bellow:&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="catalin_0-1707297298992.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159265iA38857CF0E4A29AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="catalin_0-1707297298992.png" alt="catalin_0-1707297298992.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;The current setup worked until May 2023 and started to behave like I am describing since August 2023 version and upwards.&lt;/P&gt;
&lt;P data-unlink="true"&gt;What am I missing? Does anyone have any tips related to what was changed that started causing this behavior?&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Thank you,&lt;/P&gt;
&lt;P data-unlink="true"&gt;Catalin&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 09:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/RequireJs-resources-import-error-with-QS-version-gt-August-2024/m-p/2415872#M19811</guid>
      <dc:creator>catalin</dc:creator>
      <dc:date>2024-02-07T09:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: RequireJs resources import error with QS version &gt; August 2024</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/RequireJs-resources-import-error-with-QS-version-gt-August-2024/m-p/2416699#M19825</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/74474"&gt;@catalin&lt;/a&gt;&amp;nbsp;- this seems to be related to a fix in the latest patches. The August 2023 post here in Community doesn't mention the update, but it does for May 2023 and November 2023 (&lt;SPAN&gt;QB-23501). Please look at the release notes for &lt;A href="https://community.qlik.com/t5/Release-Notes/Qlik-Sense-Enterprise-on-Windows-May-2023-Initial-Release-to/ta-p/2071845#toc-hId--286859640" target="_blank" rel="noopener"&gt;May 2023 Patch 13&lt;/A&gt;, I believe that they should align with &lt;A href="https://github.com/qlik-download/qlik-sense-server/releases/download/v14.139.17/Qlik_Sense_update.exe" target="_blank" rel="noopener"&gt;August 2023 Patch 10&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 15:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/RequireJs-resources-import-error-with-QS-version-gt-August-2024/m-p/2416699#M19825</guid>
      <dc:creator>jprdonnelly</dc:creator>
      <dc:date>2024-02-08T15:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: RequireJs resources import error with QS version &gt; August 2024</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/RequireJs-resources-import-error-with-QS-version-gt-August-2024/m-p/2417254#M19836</link>
      <description>&lt;P&gt;Hi and thank you for replying.&lt;/P&gt;
&lt;P&gt;We updated to the latest patch November 2023 and have the same error.&lt;/P&gt;
&lt;P&gt;Something happened after the May version. It is easily reproducible.&lt;/P&gt;
&lt;P&gt;If you try with any version bigger or equal to August 2023 you will encounter the error when RequireJS is not using the config's base URL to access the resources.&lt;/P&gt;
&lt;P&gt;Is there any workaround available? Any tips?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 14:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/RequireJs-resources-import-error-with-QS-version-gt-August-2024/m-p/2417254#M19836</guid>
      <dc:creator>catalin</dc:creator>
      <dc:date>2024-02-09T14:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: RequireJs resources import error with QS version &gt; August 2024</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/RequireJs-resources-import-error-with-QS-version-gt-August-2024/m-p/2418186#M19900</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/141812"&gt;@jprdonnelly&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any insights? Does someone from support able to reproduce this?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot for any info.&lt;/P&gt;
&lt;P&gt;Catalin&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 10:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/RequireJs-resources-import-error-with-QS-version-gt-August-2024/m-p/2418186#M19900</guid>
      <dc:creator>catalin</dc:creator>
      <dc:date>2024-02-13T10:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: RequireJs resources import error with QS version &gt; August 2024</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/RequireJs-resources-import-error-with-QS-version-gt-August-2024/m-p/2422472#M19982</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/74474"&gt;@catalin&lt;/a&gt;&amp;nbsp;- I spoke too soon, though it is&amp;nbsp;now actually fixed in &lt;A href="https://community.qlik.com/t5/Release-Notes/Sense-Enterprise-on-Windows-release-notes-February-2024-Initial/ta-p/2417825#:~:text=mashups%20containing%20containers.-,QB%2D24345,-Qlik%20Sense%3A%20Mashups" target="_blank" rel="noopener"&gt;February 2024 IR via&amp;nbsp;&lt;SPAN&gt;QB-24345&lt;/SPAN&gt;&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The bug &lt;EM&gt;should&lt;/EM&gt; only surface if you are running the mashup/webapp on the same host as your Sense server, but on different ports.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 16:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/RequireJs-resources-import-error-with-QS-version-gt-August-2024/m-p/2422472#M19982</guid>
      <dc:creator>jprdonnelly</dc:creator>
      <dc:date>2024-02-22T16:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: RequireJs resources import error with QS version &gt; August 2024</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/RequireJs-resources-import-error-with-QS-version-gt-August-2024/m-p/2422805#M19992</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;So if I have November 2023 installed, I should install the latest patch for November 2023, meaning patch 5, released on 21/02/ 2024, and this patch will contain the&amp;nbsp;&lt;SPAN&gt;QB-24345 fix, right?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I did this, but no change.&lt;/P&gt;
&lt;P&gt;Same result.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We, indeed, use a web app on the same host with a specific port.&lt;/P&gt;
&lt;P&gt;Now event if you reference / load require.js like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; &amp;lt;script src="https://your_qs_hostname/resources/assets/external/requirejs/require.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then try to load the app, it loads the app, then immediately loses connection, and the app properties look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="catalin_0-1708680354935.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160524i9DFA055089468882/image-size/large?v=v2&amp;amp;px=999" role="button" title="catalin_0-1708680354935.png" alt="catalin_0-1708680354935.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 09:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/RequireJs-resources-import-error-with-QS-version-gt-August-2024/m-p/2422805#M19992</guid>
      <dc:creator>catalin</dc:creator>
      <dc:date>2024-02-23T09:27:23Z</dc:date>
    </item>
  </channel>
</rss>

