Select to view content in your preferred language

Using Map and App Gallery Template over https

2027
3
06-14-2013 12:13 PM
Labels (1)
CraigMcDade
Occasional Contributor III
I'm attempting to use the Map and App Gallery Template with SSL. It hangs when I alter all the proxy addresses in the code from http to https.

Any ideas on why this would be? All the other esri urls work with either http or https
0 Kudos
3 Replies
MikeTschudi
Occasional Contributor
Hi Craig,

The current Gallery switches over to SSL if the authentication with the server reports back that it requires it.  I wouldn't modify the addresses in the code because there are aspects of the address usage that are out of the app's control that simply will not accept the switch, so the http/https is handled in the proxy.  This enables the Gallery to support public or private content in a public or private group.

Regards,
Mike
0 Kudos
CraigMcDade
Occasional Contributor III
Hi Craig,

The current Gallery switches over to SSL if the authentication with the server reports back that it requires it.  I wouldn't modify the addresses in the code because there are aspects of the address usage that are out of the app's control that simply will not accept the switch, so the http/https is handled in the proxy.  This enables the Gallery to support public or private content in a public or private group.

Regards,
Mike



Thanks for the reply. I have switched all the ESRI URLs back to the original code, and have made my organizations URLs https. However, I continue to get the bar at the bottom of IE that requires the user to click OK after reading that the page is only displaying secure content. Not sure the best way to go about fixing that. In Chrome, the app hangs at the loading screen.
0 Kudos
MikeTschudi
Occasional Contributor
Hi Craig,

Something that I should have mentioned:  because the proxy program caches the authorization information to speed up repeat access, if you switch between non-SSL and SSL or change the ArcGIS online password, you'll need to clear the proxy's cache.

This is done by renaming proxy.config to anything else or removing it from the gallery web site's top level.  Then invoke the proxy program in the browser, e.g., http://<server>/map-and-app-gallery/proxy.ashx.  When the proxy program cannot find the config file, it clears the cache as a side effect; this feature was added to the app's GitHub site on May 3rd.  Then rename/restore the proxy.config file.

Because you've been experiencing the hanging problem longer than the cache's timeout, there's probably something else going on, but knowing to clear the cache is helpful during testing and setup.

Regards,
Mike
0 Kudos