WAB developer not opening in any browser except IE

3460
11
08-07-2015 11:54 AM
glennhazelton
Occasional Contributor III

does any one have any idea why I can't open the WAB in anything but IE.

i can open the launch screen but when i go to open an app that i am working on the framework loads but the the place where the map is suppose to be is blank.

any help troubleshooting appreciated

Glenn

0 Kudos
11 Replies
PaulDavidson1
Occasional Contributor III

There seem to be many issues with using Chrome and AGOL and WAB and even geonet.... 

Do a search on Chrome here...  Interestingly, seems like most of the web demos at the UC were done via Chrome.

0 Kudos
RebeccaStrauch__GISP
MVP Emeritus

Have you tried Firefox?  And if so, what version...I know I had issues with old version early on (pre 38. Something I think?)

0 Kudos
LarryStout
Occasional Contributor III

This might be a clue; I honestly don't know.  I discovered a long time ago that I could open my app in WAB Developer Edition with either of two URLS in Chrome, FireFox, and Safari:

  1. http://localhost:3344/webappbuilder/apps/<app#>
  2. http://<computer-name>:3344/webappbuilder/apps/<app#>

But only the first URL (localhost) works with IE (all versions).

Secondly, I've heard of IT departments somehow blocking users from using Chrome or FireFox.  Shame on them.

Larry

glennhazelton
Occasional Contributor III

Larry

thanks for the hints.

for me i can use either of your urls in IE but neither of them in Chrome or Firefox.

also my urls are HTTPS, not http as i am connected to Portal which seems to require the HTTPS.

i did try the 'localhost' in chrome and FF as i had been using the computer-name convension.

the result might be a clue but it is beyond me.

i get a message that says:

invalid redirect_url

error: 400

and the url has changed to:

https://chldev20.mwra.net/portal/sharing/oauth2/authorize? and then a long string...

i guess i should call esri about this..

sigh... i spend more time on the phone with them dealing with problems that don't seem to have logical answers.

0 Kudos
RebeccaStrauch__GISP
MVP Emeritus

Glenn, look to see if the hint 4 on Tips and Observations for getting Web AppBuilder -  Developer Edition Installed​ helps any.

  • HINT 4 added 6/23/15: by Leighton Dalmasse  when configuring Web AppBuilder Developer Edition 1.1 with Portal 10.3.
    • The structure of the Redirect URIs is dependent on if your server is setup in either a Domain or Workgroup. To determine the setup, go to your server’s “Control Panel\System and Security\System” (or right-click your Computer and get properties in Windows File Explorer) to view basic information and note the “Computer name, domain, and workgroup settings”, if it is setup on a Domain you will see a domain, if it is setup on a Workgroup you will see a workgroup. For each configuration the Redirect URI structure should be as follows (to cover all of your bases it is probably safe to include both but I have not tested this):

Workgroup:

- http://<machinename>

- https://<machinename>

Domain:

- http://<machinename>.<FullDomain>

- https://<machinename>.<FullDomain>

  

I don't know that that would make a difference, since it is similar to hints that Larry gave you, but worth mentioning again.  I typically use Firefox and have had no issues, except for me, I have to double-click the startup.bat, close the window, then double-click on it again.  Firefox is set as my default, so it opens in that.

If that isn't the issue, and you are working in the developers' edition, try following the instructions for "starting from scratch".  Maybe something was  corrupted.  If you are downloading a version you recently created on AGOL and are trying to get that imported to the curect developer's edition, the AGOL version is a little ahead, and v1.2 is due out soon which should be able to handle the July update on AGOL.

0 Kudos
glennhazelton
Occasional Contributor III

Rebecca,

this idea looks really good but

when i go to the properties

i dont see http:// or https:// in the name

just the machine name and domain.

domain

mwra.net

machine

chldev20.mwra.net

in IIS i have it setup for https and http..

help me some more..

this is a great start

0 Kudos
RebeccaStrauch__GISP
MVP Emeritus

Glenn, that is correct, you wouldn't see the http or https ...those are related to whether or not you will need https (SSL cert, etc) or not.  I would try it with the http, unless you already have a cert setup.

Another good, detailed document for getting WAB installed and up and running is Using the Web AppBuilder​   Tapas walks thru many steps and provides a lot of graphics.  I'm not sure if he has anything specific to the different browsers or not.

But I'm starting to think that it might just be a setting or something being blocked in your browser that isn't blocked in IE.  What versions of the other browsers are you using.  HAve you tried the whole setup on another machine, or maybe another machine outside your network (i.e. home computer)?  The one nice thing I can see about the AGOL angle is that is that yo can install on multiple machine and use the same AGOL appID (although you aren't connecting to the same local files, so not sharing, unless you plan it another way...and hooking up from home may not work if using Portal inside your firewall).  But testing on another machine or at home might give you a clue to the browser issue.

Also, if you haven't seen Web AppBuilder Developer Edition - Customization Resource List​ , you may want to bookmark it for further reference...I try to keep it updated for anything I see re: WAB and custom widgets, etc.

0 Kudos
glennhazelton
Occasional Contributor III

thanks

sadly i've already tried what you suggest.

and given that it is portal i can't really connect to it on a machine outside our domain.

i'm going to call esri

thanks for the ideas

0 Kudos
RebeccaStrauch__GISP
MVP Emeritus

Ok, good luck.  Please report back if you find out anything that could help others.  And then make sure to mark this as "assumed answered" once you know....if any of the above turn out to be helpful, you can mark them so too.

0 Kudos