AGOL url switching from http to https

1850
3
10-19-2017 05:35 AM
PaulVanWart
New Contributor II

I recently had a problem with an ArcGIS Online (AGOL) app that I had created with WebApp Builder. I thought I would post here because I could not find any related information when I was looking for it. The app had been built for some time and had been working fine.  Then all of a sudden it started giving me errors when trying to load map layers (which were map services coming from my organization's ArcGIS Server). On further investigation I found that the http url that I was using to open the app was being converted to https right in the browser's address bar.  When this happened, then all of my services that had http url's would fail to load. The solution I found was to use ArcGIS Online Assistant and edit
the JSON file for my webapp to replace all https references with http. After I did that then the webapp started working fine with the http url.

The suspected cause of this problem was using ArcGIS Online Assistant to make a copy of the original webapp. After I used the copy functionality, some https references seemed to be inserted into the JSON.  Hope this is helpful to somebody else.

3 Replies
CarmelConnolly
Esri Regular Contributor

Hi Paul, 

That's frustrating!

Are you an administrator in your ArcGIS Online account? 

Is it possible that someone enabled 'Allow access to the organization through HTTPS only' in your organisation settings? More information: Configure security settings—ArcGIS Online Help | ArcGIS 

This would explain why you could no longer navigate to http.


Carmel

RebeccaStrauch__GISP
MVP Emeritus

Paul VanWart  - Thank you for your post. Since this is a solution more than a question, you may want to convert this to a Discussion or a document, which you should be able to do from the Actions menu in the upper-right corner.  I can help if you (agree and) aren't able to do it.

Just to add (and if you may want to add this to your original post), the ArcGIS Online Assistant can be found

ArcGIS Online Assistant 

0 Kudos
BobNutsch1
Occasional Contributor

Hi,  This frequently happens to me as well and I find it extremely frustrating and time-wasting to the point I've been borderline considering other options.  I use the 'Admin Tools for ArcGIS Online' from GeoJobe to fix these mixed http and https things.  To help prevent this issue, I find that if I use Chrome, and frequently clear the browser cache, AND ALWAYS double check that I have what I want for http or https in the URL address area (then fix as needed) when moving between locations in AGO, e.g., when opening the map and then the app I have a much better chance of avoiding the mixed http/https problem.  The Edge browser rarely if ever works for me to even view an app, so I stick with Firefox and Chrome, with a cleared-cache-Chrome being the most reliable approach. 

0 Kudos