<?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: Web Appbuilder 1.2 failed to connect to portal in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-1-2-failed-to-connect-to-portal/m-p/57089#M1625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jianxia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. It did give me an idea to look for problems with the server authentication setup and of course I found one which fixed the issue. Indeed it sounds like a good idea to update the documentation to explicitly state that IWA would not prompt for App ID. That may save some developers from going the wrong path while troubleshooting their connections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;Pavlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Sep 2015 23:02:49 GMT</pubDate>
    <dc:creator>PavlinStaikov</dc:creator>
    <dc:date>2015-09-21T23:02:49Z</dc:date>
    <item>
      <title>Web Appbuilder 1.2 failed to connect to portal</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-1-2-failed-to-connect-to-portal/m-p/57087#M1623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried recently to use the Web Appbuilder 1.2 with Portal 10.3.1. I followed the instructions carefully for registering the appbuilder as an app in the portal and trying to run it afterwards. In fact I tried the procedure several times to make sure that I am not missing something. Each time I get the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="127468" alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/127468_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The portal is setup with IWA. I enter the APP ID of the registered appbuilder, then the browser prompts me and I enter my own credentials. The problem comes up when the following call is made:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;........./arcgisportal/sharing/portals/self?f=json&amp;amp;token=wrFh0..................&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;My guess is that the server is challenging the client with the headers:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL class="children expanded" style="list-style-type: none; padding-left: 12px; color: #222222; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;&lt;LI&gt;&lt;SPAN class="header-name" style="color: #545454; margin-right: 0.5em; font-weight: bold;"&gt;WWW-Authenticate:&lt;/SPAN&gt;&lt;SPAN class="header-value source-code" style="font-family: Consolas, 'Lucida Console', monospace; font-size: 12px !important; margin-right: 1em; margin-top: 1px;"&gt;Negotiate&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="header-name" style="color: #545454; margin-right: 0.5em; font-weight: bold;"&gt;WWW-Authenticate:&lt;/SPAN&gt;&lt;SPAN class="header-value source-code" style="font-family: Consolas, 'Lucida Console', monospace; font-size: 12px !important; margin-right: 1em; margin-top: 1px;"&gt;NTLM&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN class="header-value source-code" style="font-family: Consolas, 'Lucida Console', monospace; font-size: 12px !important; margin-right: 1em; margin-top: 1px;"&gt;but the rest call somehow cannot handle the challenge. If I open the same request in a different tab, then I get the expected json, probably because the browser knows how to handle and respond to the challenge. Is it possible the there is a bug in the appbuilder that makes it not handle properly the built-in windows authentication? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="header-value source-code" style="font-family: Consolas, 'Lucida Console', monospace; font-size: 12px !important; margin-right: 1em; margin-top: 1px;"&gt;Here is are the details of the failed request:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/127474_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="header-value source-code" style="font-family: Consolas, 'Lucida Console', monospace; font-size: 12px !important; margin-right: 1em; margin-top: 1px;"&gt;Any help with this issue would be highly appreciated. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="header-value source-code" style="font-family: Consolas, 'Lucida Console', monospace; font-size: 12px !important; margin-right: 1em; margin-top: 1px;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 23:35:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-1-2-failed-to-connect-to-portal/m-p/57087#M1623</guid>
      <dc:creator>PavlinStaikov</dc:creator>
      <dc:date>2015-09-18T23:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Web Appbuilder 1.2 failed to connect to portal</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-1-2-failed-to-connect-to-portal/m-p/57088#M1624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pavlin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AppID is not required if WAB dev edition connects to Portal with IWA security. You should not see the text box asking you to fill in the appId when starting the builder at the first time. Could you confirm that you are accessing IWA portal? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meanwhile, we will modify the get started doc to cover the scenarios of connecting to a portal with IWA/PKI/LDAP securities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which browser are you using? IE8 and IE9 do not support WAB accessing IWA portal due to CORS issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jianxia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2015 00:16:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-1-2-failed-to-connect-to-portal/m-p/57088#M1624</guid>
      <dc:creator>Jianxia</dc:creator>
      <dc:date>2015-09-19T00:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Web Appbuilder 1.2 failed to connect to portal</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-1-2-failed-to-connect-to-portal/m-p/57089#M1625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jianxia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. It did give me an idea to look for problems with the server authentication setup and of course I found one which fixed the issue. Indeed it sounds like a good idea to update the documentation to explicitly state that IWA would not prompt for App ID. That may save some developers from going the wrong path while troubleshooting their connections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;Pavlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 23:02:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-1-2-failed-to-connect-to-portal/m-p/57089#M1625</guid>
      <dc:creator>PavlinStaikov</dc:creator>
      <dc:date>2015-09-21T23:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Web Appbuilder 1.2 failed to connect to portal</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-1-2-failed-to-connect-to-portal/m-p/57090#M1626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right. We will update the doc as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Jianxia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 23:13:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/web-appbuilder-1-2-failed-to-connect-to-portal/m-p/57090#M1626</guid>
      <dc:creator>Jianxia</dc:creator>
      <dc:date>2015-09-21T23:13:06Z</dc:date>
    </item>
  </channel>
</rss>

