Hello,
I have published numerous HTTP (6080) feature layer(s) via ArcGIS Server to ArcGIS Online. I have used these feature layers to perform several survey/inspections in the field using Collector for ArcGIS. Now I am working on another survey and I would like to use HTTPS (6443) feature layer. I have published the feature layer using ArcMap to my ArcGIS Server and shared it with AGOL. However, everytime I try to add it to my map I receive an error message "The Layer Layer Name, cannot be added to the map." I have also attempted to add layer from the web and I receive the same message.
I believe I am skipping a simple step or two and am hopeful someone understands my issue and can assist me.
my link sample:
https://mysite.net:6443/arcgis/rest/services/FolderName/FeatureLayerNAME/FeatureServer
Thanks,
JB
Hi JB,
It's a little hard to tell based on your post, but I'll take a stab.
First, you may be running into mixed content issues. I see you've added your service to ArcGIS.com using https, but are you also accessing your web map/web app using https? If you're using http, I can see the browser complaining.
You can confirm by opening up a new web map and pressing F12 on your keyboard to open the browsers DEV tools and clicking on the console view to look at any errors generated. Hopefully that tells you the issue.
To be clear - you're able to add your service as an item to ArcGIS.com, but you're unable to add it to a web map, is that correct?
Also, is the resource you're adding secured - like does it require username/password to access?
~Randall
Thanks for the help.
I opened a new map in AGOL and added layer from the web. I reviewed the browsers dev tools and the error I reviewed was SEC7118. I looked at the feature service with another feature service my colleague published and I got Https to work for the feature service.
I dropped the :6443 from the link at it work as an https: service
Not working.
https://mysite.net:6443/arcgis/rest/services/FolderName/FeatureLayerNAME/FeatureServer
This worked.
https://mysite.net/arcgis/rest/services/FolderName/FeatureLayerNAME/FeatureServer
OK. My guess is that in the HTTPS sample that worked, you have a certificate from a valid CA at the web tier. In the example where you're using the internal web server on :6443, are you still using the default self signed certificate?
Yes, we do have a certificate from a CA. No, I don't believe i am using the self signed certificate because the URL is being generated by ArcGIS for Server and isn't being run through the CA.