HTTP request blocked

5804
10
03-24-2015 07:47 AM
mpboyle
Occasional Contributor III

We have recently migrated to a new ArcGIS Server which is configured to use https.  Upon migrating our apps over, some of them no longer work because the app is being loaded over https, but certain css files or js files are being requested over http, and thus are being blocked.  Attached is a screenshot of the developer tools window when trying to load one of our apps.

This particular app uses the Esri Story Map Countdown app template.

Can this be easily fixed or is this something our IT needs to fix in order to allow certain values over http?

Thanks in advance!

Tags (2)
0 Kudos
10 Replies
StevenGraf1
Occasional Contributor III

You should be able to change the Esri urls from http: to https: and they will work.

Note:  Esri does bring in some things from other servers over http which is out of there control and will not load.

Steven

0 Kudos
mpboyle
Occasional Contributor III

Thanks Steven,

For things Esri brings in over http (example, social media sharing) is that something our IT would have to allow to pass through in order for it to work?

0 Kudos
StevenGraf1
Occasional Contributor III

Ya, they will have to create some rules that allow unsecured content through.  Most social media sites use https: so you may want to try the urls using https first before you start allowing unsecured content through.

Steven

0 Kudos
StevenGraf1
Occasional Contributor III

Correction- They won't have to create rules.  Loading http over https is browser based I believe.  I'm still trying to figure this part out  When a page loads unsecured content you should get a message or a warning stating that its loading the unsecured content.  In Chrome, a shield icon will appear in your address bar and if you click on it you can then load the unsecured content.

Steven

0 Kudos
mpboyle
Occasional Contributor III

Hmmm...below is the app I'm trying to get to work since migrating machines.  I changed all the Esri URLs to https and found a page for w.sharethis that shows for SSL connections use https://ws.sharethis...

After making those changes, the app still won't load; it just spins.  I'm wondering what I'm missing...

https://gis.linncounty.org/webapps/planning/trc/

0 Kudos
StevenGraf1
Occasional Contributor III

Ya, that's strange.  I would try replacing all your urls within the application with https:

You may want to move this discussion from ArcGIS Server to Web Development or the JS API page.

Steven

0 Kudos
StevenGraf1
Occasional Contributor III

I'm getting a down for maintenance page when I try to go to this url https://resources.esri.com/favicon.ico

I wonder if this is throwing it off.

0 Kudos
JayantaPoddar
MVP Esteemed Contributor

Hi Matthew,

  1. Log in to the ArcGIS Server Administrator Directory: http://<gisservername>:6080/arcgis/admin.
  2. Navigate to security > config > update.
  3. For the Protocol parameter, choose to use the  HTTP_AND_HTTPS option. With this option, users will be able to access ArcGIS Server through either HTTP or HTTPS.

* If you are using the ArcGIS Web Adaptor with ArcGIS Server, you'll need to reconfigure it with your server. This will update the Web Adaptor's configuration to reflect the changes you made when enabling SSL on your site.



Think Location
0 Kudos
mpboyle
Occasional Contributor III

Our ArcGIS Server admin is already setup for both HTTP and HTTPS.  Web Adaptor has already been updated to use the new machine.

0 Kudos