Data service not showing up

495
2
Jump to solution
09-18-2017 07:32 AM
FrankLaFone
New Contributor

I've got a data service we are using in one of our Javascipt API applications, both of which are served off our in house ArcGIS Server and web server.  I've added the data service to a Web Map and published the web map to the public (http://arcg.is/OKa4O  ).  However, when I try to make a Story Map based upon that Web Map, the service refuses to show up.  It tells me the service is inaccessible.  Since it works fine in our  current application and it seems to work fine in the Web Map, I'm not sure what to do with the service to make it accessible by the Story Map.  Any suggestions?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
StephenSylvia
Esri Regular Contributor

My guess is you are running into mix content issues. The server hosting your layer does not contain a SSL certificate so it can only be access through insecure connections (http). Our stories can be accessed over insecure connections (http) or secure connections (https). When a story loads over https, all content (including your layer) that is loaded over http will be blocked. This is a standard web browser security feature and not something we can work around.

You should still be able to see the story and layer if the URL of the story starts with http (not https). A better solution would be to add a SSL certificate on your server and then readd the layer to the webmap making sure to use its new https URL.

View solution in original post

0 Kudos
2 Replies
StephenSylvia
Esri Regular Contributor

My guess is you are running into mix content issues. The server hosting your layer does not contain a SSL certificate so it can only be access through insecure connections (http). Our stories can be accessed over insecure connections (http) or secure connections (https). When a story loads over https, all content (including your layer) that is loaded over http will be blocked. This is a standard web browser security feature and not something we can work around.

You should still be able to see the story and layer if the URL of the story starts with http (not https). A better solution would be to add a SSL certificate on your server and then readd the layer to the webmap making sure to use its new https URL.

0 Kudos
RupertEssinger
Frequent Contributor

I think you can see the mixed content issue if you display the web map in the ArcGIS Online Map Viewer. Here's the map accessed using HTTP:
http://www.arcgis.com/home/webmap/viewer.html?webmap=bd156f20936641a5b6d3b1426d18985e 

and here it is accessed using HTTPS:

https://www.arcgis.com/home/webmap/viewer.html?webmap=bd156f20936641a5b6d3b1426d18985e 

in which case, the Carbonscapes_AggregateAndSummary layer doesn't draw.

Rupert

0 Kudos