English

Error: Unable to establish a secure connection to the layer. The layer, [layername], cannot be added to the map

Error Message

When attempting to add an ArcGIS Server web service through HTTP to an ArcGIS Online web map through HTTPS, the following error message may be returned:

"Unable to establish a secure connection to the layer. The layer, [layername], cannot be added to the map."
[O-Image]

Cause

The ArcGIS Online organization allows access through HTTPS only; therefore, content accessed through HTTP cannot be added to the web map.

Please see the following ArcGIS Online help topic: Configure security settings

Solution or Workaround

Add the GIS web service through HTTPS.