Select to view content in your preferred language

WABde Not Displaying Web Map Content in Map Viewer; 401 Error

4397
3
04-01-2016 01:57 PM
NicholasMcNamara
Occasional Contributor II

If I click "Choose Web Map" in WABde, my maps from Portal 10.4 pop up and can be selected. However, if I select any one, it changes in the sidebar to the name of the new map, but does not load in the map viewer section, leaving only a gray screen. I can get all the details on it and everything ("More details") The console says it is a 401 Unauthorized error. I also get a cross-domain warning, though I can disable that with a Firefox addon, so its not blocking it. I can navigate through a browser to that url just fine, with no issues. If I click Edit This Map, the map displays in the popup map viewer, but I get repeated messages of "Opening the console in Firefox when clicking “Edit this Map” notes “received https://snew-gis.norwalk2ndwater.com {“type”:”message”,”message”:”Caller not on viewer’s domain or in viewer’s whitelist https://snew083.norwalk2ndwater.com:3344”} And actually, it does still show those 401 Unauthorized errors there as well, but it displays the data anyway."

I've been trying to solve this for the past 3 days. This might have happened after switching out our old ssl alias certificate with a regular CA signed certificate that does not use an alias. SSL only is set on ArcGIS Server 10.4 and Portal, as well as on my client machine. I've went through IIS 7.5, and everything seems OK to me, but I only know enough to be dangerous. I just upgraded to WABde 2.0 and there was no difference.

The only way I can get this to work is to run WABde on the server that Portal and ArcGIS Server are installed on, launch startup.bat, have it fail to open the site with a 400 error, then open Portal, open the App Registration web mapping application and click the link there. However, that's pretty convoluted and I don't want to do development on the server.

Maybe those things provide some clues to you more experienced guys as to what the problem is and how it can be solved? Thanks!

Tags (2)
0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Nick,

  Have you contacted tech support on this issue?

0 Kudos
NicholasMcNamara
Occasional Contributor II

Yes. I've a ticket open for 2 weeks now, and they've escalated it. Since they don't really know what's going on right now, I was wondering if any of you had any ideas as far as troubleshooting steps I could take?

0 Kudos
VHolubec
Esri Regular Contributor

Hello,

Try to add to the app config file to line 18 - "authorizedCrossOriginDomains": [AGS domain], the domain name, where the AGS is hosted.

See the video here: WAB_authorization - VHolubec's library

The clue is also here: https://developers.arcgis.com/web-appbuilder/guide/work-with-web-tier-anthentication.htm​, Best practices, second row.

Hope this help.

Vladimir