AnsweredAssumed Answered

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

Question asked by nmcnamara on Apr 1, 2016
Latest reply on Jun 21, 2016 by vholubecarcdata-cz-esridist

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!

Outcomes