geoprocessing widget

1801
8
Jump to solution
05-15-2017 04:42 AM
La_OdeAbdul_Hafid1
New Contributor III

Why when I want to validate my geoprocessing service URL in Web AppBuilder for ArcGIS I got:

The URL you have entered is invalid or inaccessible message.

The REST URL: Task: Select_Sites 

geoprocessing service error

0 Kudos
1 Solution

Accepted Solutions
Lake_Worth_BeachAdmin
Occasional Contributor III

enable https on agol (forces all connections to use https

Configure security settings—ArcGIS Online Help | ArcGIS 

View solution in original post

0 Kudos
8 Replies
JonathanQuinn
Esri Notable Contributor

Are you accessing the Web App builder over https?  I would use Fiddler or take a look at the Developer tools to figure out what request is failing.

La_OdeAbdul_Hafid1
New Contributor III

I am accessing Web App builder intregated in ArcGIS Online not Developer edition...

0 Kudos
JonathanQuinn
Esri Notable Contributor

Fiddler and developer tools, (for example the Chrome developer tools) will allow you to inspect the network traffic when configuring the widget to help you identify the problem.  Each browser has it's own developer tools.  If you're going to be working with web applications and services, you'll benefit from knowing how to troubleshoot network traffic.

La_OdeAbdul_Hafid
New Contributor

I tried Chrome Dev Tool and I got this

So must it be over HTTPS?

But why when I validate this

http://sampleserver6.arcgisonline.com/arcgis/rest/services/Elevation/ESRI_Elevation_World/GPServer/V...

there was no problem?

0 Kudos
JonathanQuinn
Esri Notable Contributor

You need to match the protocol you use to access the WAB with the protocol of the GP service, (or vice versa).  If you access the WAB over HTTPS, the GP service needs to be accessed over HTTPS.  If you access the WAB over HTTP, you need to use HTTP for the GP service.  Take a look at what mixed content is.

0 Kudos
La_OdeAbdul_Hafid
New Contributor

So how to change from HTTP to HTTPS? I am not experienced with things like this. Any suggestion?

0 Kudos
JonathanQuinn
Esri Notable Contributor

Well, the easiest thing to try is simply adding an "s" to http and see if you can reach the service.  If you can, then you should be good to go.  If you can't, you'll need to speak with the admin of the GIS Server site or your IT staff to enable HTTPS on whatever is the front end of the GIS Server, (IIS and the web adaptor, reverse proxy, etc).  Here's some documentation that may help.

Lake_Worth_BeachAdmin
Occasional Contributor III

enable https on agol (forces all connections to use https

Configure security settings—ArcGIS Online Help | ArcGIS 

0 Kudos