Issue deploying WAB app to AWS

893
1
06-22-2018 02:43 PM
WilliamBeuth
New Contributor

Hi all,

I’m attempting to deploy a Web AppBuilder app to an AWS instance running Windows Server 2012R and ISS 8.  I’ve uploaded the WAB package to the server, registered an “app” link to the AWS URL in the AGOL account associated with my Esri developer account, copied the appID into the config.json file, and added the application to the default web page in ISS.

However, when I try to access http://<my server>/<app name>/ from either the AWS server or remotely I initially get the expected WAB loading page (blue screen with five undulating progress bars), but then get a browser message saying “This page can’t be displayed”.  There are no errors in the browser console window.

To keep things simple at this point I’m not using a proxy or SSL.

Any ideas on why the WAB app won’t load?

Thanks in advance.

0 Kudos
1 Reply
WilliamBeuth
New Contributor

Answering my own post in hopes that it might help others...

Ultimately what resolved this issue was; 1) adding an https binding to IIS (http wasn't adequate for the WAB app, even for test purposes), and 2) removing the app ID from the config.json file.  

So contrary to what the readme in the WAB package and documentation such as Deploy your app—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers  indicate, I did not need to take specific action to register the WAB app or paste an app Id into the json.config file.  In fact doing these steps actually prevented the app from loading correctly.  In talking with Esri tech support this appears to be a difference between deploying WAB apps that were built with WAB on AGOL vs. ones that were built through WAB for Developers (which was my case).

0 Kudos