Creating a GP Service with HTTP url (not HTTPS)

733
5
Jump to solution
05-21-2018 07:57 AM
DevonCanady
New Contributor II

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?

0 Kudos
1 Solution

Accepted Solutions
JonathanQuinn
Esri Notable Contributor

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?

View solution in original post

0 Kudos
5 Replies
JonathanQuinn
Esri Notable Contributor

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?

0 Kudos
DevonCanady
New Contributor II

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

0 Kudos
JonathanQuinn
Esri Notable Contributor

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.

0 Kudos
DevonCanady
New Contributor II

I'm accessing it from a browser, not sure about the web adaptor.

0 Kudos
JonathanQuinn
Esri Notable Contributor

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.

0 Kudos