<?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: Error &amp;quot;Connect failed after 2 attempts&amp;quot; in Scalability</title>
    <link>https://community.qlik.com/t5/Scalability/Error-quot-Connect-failed-after-2-attempts-quot/m-p/1318965#M1008</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was just assuming since it's common practice. An extra virtual proxy won't effect performance. If you use the root one, there shouldn't be added any prefix. The second questions about type of header auth is still valid though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 May 2017 14:35:05 GMT</pubDate>
    <dc:creator>Daniel_Larsson</dc:creator>
    <dc:date>2017-05-23T14:35:05Z</dc:date>
    <item>
      <title>Error "Connect failed after 2 attempts"</title>
      <link>https://community.qlik.com/t5/Scalability/Error-quot-Connect-failed-after-2-attempts-quot/m-p/1318960#M1003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some interrogation using the Scalability tools 3.2.5 for Qlik Sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I success to connect it, can get app structure and test a scenario.&lt;/P&gt;&lt;P&gt;I'm using NTML as ConnectionType.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to simulate many users but...&lt;/P&gt;&lt;P&gt;So in Worker Settings, I put 20 in ConcurrentUsers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Executing it (a simple test : Just "ChangeSheet" as action).&lt;/P&gt;&lt;P&gt;Looking at the log result, I see that it's ok for the 5 first user, they can open the app and do the action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for the following users : &lt;/P&gt;&lt;P&gt;&lt;EM&gt;2017-05-23 11:55:43.5167+02:00 1316484354832 SCENARIOERROR 6-6 962726b0-87e9-458d-9f76-adc689e6ef23&amp;nbsp; 06b585a6-df35-4888-a0cc-3a35dcd26d74 &lt;STRONG style="color: #ff0000;"&gt;ERROR&amp;nbsp; Connect failed after 2 attempts.&lt;/STRONG&gt; Qlik.Engine.Communication.CommunicationErrorException: Connect failed after 2 attempts. ---&amp;gt; &lt;STRONG style="color: #ff0000;"&gt;System.Exception: LicenseAccessDenied [Fatal]: Access to the app is denied: NoAvailableAccessType&lt;/STRONG&gt;\n&amp;nbsp;&amp;nbsp; à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\n&amp;nbsp;&amp;nbsp; à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n&amp;nbsp;&amp;nbsp; à Qlik.Engine.Communication.QlikConnection.&amp;lt;PingAsync&amp;gt;d__66.MoveNext()\n--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---\n&amp;nbsp;&amp;nbsp; à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\n&amp;nbsp;&amp;nbsp; à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n&amp;nbsp;&amp;nbsp; à SDKExerciserService.Driver.Extensions.TaskExtensions.&amp;lt;TimeoutTaskInner&amp;gt;d__4.MoveNext()\n--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---\n&amp;nbsp;&amp;nbsp; à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\n&amp;nbsp;&amp;nbsp; à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n&amp;nbsp;&amp;nbsp; à SDKExerciserService.Driver.Extensions.TaskExtensions.&amp;lt;TimeoutTask&amp;gt;d__3.MoveNext()\n--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---\n&amp;nbsp;&amp;nbsp; à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\n&amp;nbsp;&amp;nbsp; à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n&amp;nbsp;&amp;nbsp; à SDKExerciserService.Driver.Workers.ScenarioItems.ConnectWebSocket.&amp;lt;ExecuteAction&amp;gt;d__8.MoveNext()\n --- Fin de la trace de la pile d'exception interne ---\n&amp;nbsp;&amp;nbsp; à SDKExerciserService.Driver.Workers.ScenarioItems.ConnectWebSocket.&amp;lt;ExecuteAction&amp;gt;d__8.MoveNext()\n--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---\n&amp;nbsp;&amp;nbsp; à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\n&amp;nbsp;&amp;nbsp; à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n&amp;nbsp;&amp;nbsp; à System.Runtime.CompilerServices.TaskA&lt;/EM&gt;waiter.ValidateEnd(Task task)\n&amp;nbsp;&amp;nbsp; à SDKExerciserService.Driver.Workers.ScenarioWorker.&amp;lt;Execute&amp;gt;d__7.MoveNext()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand well :&lt;/P&gt;&lt;P&gt;- By using NTLM, each user simulate the UserId lauching the Scalability tools&lt;/P&gt;&lt;P&gt;- This UserID have an UserCal&lt;/P&gt;&lt;P&gt;- There's many UserCal free&lt;/P&gt;&lt;P&gt;- The user have access to this app (The 5 first can connect / open / and execute the scenario)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I said some errors ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced for your help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 10:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Scalability/Error-quot-Connect-failed-after-2-attempts-quot/m-p/1318960#M1003</guid>
      <dc:creator>_CD_</dc:creator>
      <dc:date>2017-05-23T10:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Connect failed after 2 attempts"</title>
      <link>https://community.qlik.com/t5/Scalability/Error-quot-Connect-failed-after-2-attempts-quot/m-p/1318961#M1004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the error message shows, you haven't allocated enough tokens to the user. If you are using a user access allocation,&amp;nbsp; the user is limited to 5 sessions. You are trying to simulate way more than that. You can read more about access passes here: &lt;A href="http://help.qlik.com/en-US/sense/3.2/Subsystems/PlanningQlikSenseDeployments/Content/Server/Server-Licensing-Access-Types.htm" title="http://help.qlik.com/en-US/sense/3.2/Subsystems/PlanningQlikSenseDeployments/Content/Server/Server-Licensing-Access-Types.htm"&gt;http://help.qlik.com/en-US/sense/3.2/Subsystems/PlanningQlikSenseDeployments/Content/Server/Server-Licensing-Access-Types.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using NTLM all logins are done by the same user, if you combine this with a token allocated on user access only a total of 5 logins will be successful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We recommend using header auth for testing purposes since as it will simulate multiple sessions also from proxy perspective. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So combinations which would work for you:&lt;/P&gt;&lt;P&gt;• NTLM + login access&lt;/P&gt;&lt;P&gt;• Header + login access&lt;/P&gt;&lt;P&gt;• Header + user access with tokens allocated &lt;STRONG&gt;all&lt;/STRONG&gt; simulated users&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 10:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Scalability/Error-quot-Connect-failed-after-2-attempts-quot/m-p/1318961#M1004</guid>
      <dc:creator>Daniel_Larsson</dc:creator>
      <dc:date>2017-05-23T10:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Connect failed after 2 attempts"</title>
      <link>https://community.qlik.com/t5/Scalability/Error-quot-Connect-failed-after-2-attempts-quot/m-p/1318962#M1005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking that it could simulate users. But it will only simulate the user's connection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My configuration use a User access for all users. So I need to use Header + user access and so created all simulated account before. ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I quickly try with Header instead of NTLM but something goes wrong. An Error with "Illegal user id".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you know this error ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 13:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Scalability/Error-quot-Connect-failed-after-2-attempts-quot/m-p/1318962#M1005</guid>
      <dc:creator>_CD_</dc:creator>
      <dc:date>2017-05-23T13:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Connect failed after 2 attempts"</title>
      <link>https://community.qlik.com/t5/Scalability/Error-quot-Connect-failed-after-2-attempts-quot/m-p/1318963#M1006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I've seen that exact error. I suppose you configured the header users on a new virtual proxy? In that case, did you make sure to enter virtualproxyprefix in the tool? Also did you use static or dynamic headers? Static adds the domain configured in the virtual proxy while dynamic requires the users to be entered according to the pattern you configured in the virtual proxy. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 14:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Scalability/Error-quot-Connect-failed-after-2-attempts-quot/m-p/1318963#M1006</guid>
      <dc:creator>Daniel_Larsson</dc:creator>
      <dc:date>2017-05-23T14:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Connect failed after 2 attempts"</title>
      <link>https://community.qlik.com/t5/Scalability/Error-quot-Connect-failed-after-2-attempts-quot/m-p/1318964#M1007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact no. I've used the default virtual proxy as I wanted to use NTLM method.&lt;/P&gt;&lt;P&gt;Adding and using this new header don't modify the performance results ? Why not using the default one ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 14:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Scalability/Error-quot-Connect-failed-after-2-attempts-quot/m-p/1318964#M1007</guid>
      <dc:creator>_CD_</dc:creator>
      <dc:date>2017-05-23T14:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error "Connect failed after 2 attempts"</title>
      <link>https://community.qlik.com/t5/Scalability/Error-quot-Connect-failed-after-2-attempts-quot/m-p/1318965#M1008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was just assuming since it's common practice. An extra virtual proxy won't effect performance. If you use the root one, there shouldn't be added any prefix. The second questions about type of header auth is still valid though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 14:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Scalability/Error-quot-Connect-failed-after-2-attempts-quot/m-p/1318965#M1008</guid>
      <dc:creator>Daniel_Larsson</dc:creator>
      <dc:date>2017-05-23T14:35:05Z</dc:date>
    </item>
  </channel>
</rss>

