<?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 API error response return internal host-name instead of web server address in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/API-error-response-return-internal-host-name-instead-of-web/m-p/1995224#M82373</link>
    <description>&lt;P&gt;Hello dear Qlik specialists!&lt;/P&gt;
&lt;P&gt;We in company have no previous experience with Qlik Analytics Platform (QAP), yes it is same old Qlik Sense Enterprise with some limited and some added functionality, but still, there might be some differences in setting details and as problems we are experiencing with QAP, decided to ask someone of you, maybe you will have some ideas on problem described below.&lt;/P&gt;
&lt;P&gt;Situation:&lt;/P&gt;
&lt;P&gt;Penetration test on our QAP setup was performed (by external auditor) and &lt;SPAN&gt;security vulnerability&amp;nbsp;&lt;/SPAN&gt;issues were found on error handling.&lt;/P&gt;
&lt;P&gt;Test case:&lt;/P&gt;
&lt;P&gt;When making API call to host &lt;STRONG&gt;companywebaddress.com&lt;/STRONG&gt; (*1 in picture) with GET method api/hub/v1/streams/ &amp;nbsp;with knowingly added redundant specific symbols &lt;STRONG&gt;"%00"&lt;/STRONG&gt; (*2 in picture) to the stream id, like &lt;EM&gt;some-long-and-complicated-stream-id%00&lt;/EM&gt;, the error response of the call return internal host name &lt;STRONG&gt;SOMEHOSTNAME.dmzad.local&lt;/STRONG&gt; with added port (*3 in picture), like&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"Error requesting "&lt;A href="https://SOMEHOSTNAME.dmzad.local:4242/qrs/stream/some-long-and-complicated-stream-id\" target="_blank" rel="noopener"&gt;https://SOMEHOSTNAME.dmzad.local:4242/qrs/stream/some-long-and-complicated-stream-id\&lt;/A&gt;u0000\" - TypeError ...".&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Screenshot is attached to post, I guess this will make description of test case more clearer, sorry, addresses/names in screenshot hidden, of course. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Any idea how in the response output get &lt;STRONG&gt;companywebaddress.com&lt;/STRONG&gt; instead of &lt;STRONG&gt;SOMEHOSTNAME.dmzad.local:4242&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;Is this a QAP (Qlik Sense) setup/configuration issue, or this is how it is built and should work?&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2022 19:03:25 GMT</pubDate>
    <dc:creator>sdcentre</dc:creator>
    <dc:date>2022-10-20T19:03:25Z</dc:date>
    <item>
      <title>API error response return internal host-name instead of web server address</title>
      <link>https://community.qlik.com/t5/App-Development/API-error-response-return-internal-host-name-instead-of-web/m-p/1995224#M82373</link>
      <description>&lt;P&gt;Hello dear Qlik specialists!&lt;/P&gt;
&lt;P&gt;We in company have no previous experience with Qlik Analytics Platform (QAP), yes it is same old Qlik Sense Enterprise with some limited and some added functionality, but still, there might be some differences in setting details and as problems we are experiencing with QAP, decided to ask someone of you, maybe you will have some ideas on problem described below.&lt;/P&gt;
&lt;P&gt;Situation:&lt;/P&gt;
&lt;P&gt;Penetration test on our QAP setup was performed (by external auditor) and &lt;SPAN&gt;security vulnerability&amp;nbsp;&lt;/SPAN&gt;issues were found on error handling.&lt;/P&gt;
&lt;P&gt;Test case:&lt;/P&gt;
&lt;P&gt;When making API call to host &lt;STRONG&gt;companywebaddress.com&lt;/STRONG&gt; (*1 in picture) with GET method api/hub/v1/streams/ &amp;nbsp;with knowingly added redundant specific symbols &lt;STRONG&gt;"%00"&lt;/STRONG&gt; (*2 in picture) to the stream id, like &lt;EM&gt;some-long-and-complicated-stream-id%00&lt;/EM&gt;, the error response of the call return internal host name &lt;STRONG&gt;SOMEHOSTNAME.dmzad.local&lt;/STRONG&gt; with added port (*3 in picture), like&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"Error requesting "&lt;A href="https://SOMEHOSTNAME.dmzad.local:4242/qrs/stream/some-long-and-complicated-stream-id\" target="_blank" rel="noopener"&gt;https://SOMEHOSTNAME.dmzad.local:4242/qrs/stream/some-long-and-complicated-stream-id\&lt;/A&gt;u0000\" - TypeError ...".&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Screenshot is attached to post, I guess this will make description of test case more clearer, sorry, addresses/names in screenshot hidden, of course. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Any idea how in the response output get &lt;STRONG&gt;companywebaddress.com&lt;/STRONG&gt; instead of &lt;STRONG&gt;SOMEHOSTNAME.dmzad.local:4242&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;Is this a QAP (Qlik Sense) setup/configuration issue, or this is how it is built and should work?&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 19:03:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/API-error-response-return-internal-host-name-instead-of-web/m-p/1995224#M82373</guid>
      <dc:creator>sdcentre</dc:creator>
      <dc:date>2022-10-20T19:03:25Z</dc:date>
    </item>
  </channel>
</rss>

