We recently installed ArcGIS Server 10.5 on a server and I'm attempting to recreate a geoprocessing service that exists elsewhere in our system. The original version has an HTTP url for the endpoint and since there are many other dependencies on this there would be a lot more work to adapt the change in protocol.
Is it possible to publish the service using HTTP on 10.5 instead of the default of HTTPS?
Solved! Go to Solution.
By default http and https is already accessible on a new site. Have you tried to reach the GP service through http? Is that not working?
By default http and https is already accessible on a new site. Have you tried to reach the GP service through http? Is that not working?
Ah, it works if I specify port 6080. I think I missed that initially. Otherwise it says:
Could not access any server machines. Please contact your system administrator. |
Thanks
When you see that error, how are you accessing the REST endpoint? Through a web adaptor? Does https work through the web adaptor? It could be that it's not registered or the requested URL is invalid. I believe if you reach a URL that should return a 404, (like the service doesn't exist), it returns the error you see instead.
I'm accessing it from a browser, not sure about the web adaptor.
Your URL in the browser could either go through HTTP or HTTPS, and the Web Adaptor or straight to the Server machine:
HTTPS and Server Machine
https://server.domain.com:6443/arcgis/rest/services
HTTP and Server Machine
http://server.domain.com:6080/arcgis/rest/services
HTTPS and Web Adaptor
https://webadaptor.domain.com/<wa-context>/rest/services
HTTP and Web Adaptor
http://webadaptor.domain.com/<wa-context>/rest/services
If you don't have the Web Adaptor registered, then you'll likely see an error in your screenshot.