Running WAB dev 1.3, Portal 10.3.1.
When using the WAB built in to Portal, the geoprocessing widget successfully connects to the GP services without hesitation. The validation screen looks like this and shows the toolbox with the task name underneath.
However, in WAB Dev 1.3, the GP widget stalls when connecting to GP services. After pasting the GP service REST URL and clicking validate, the task name displays but there is not a toolbox. If you choose that task and click "Set" for the task, the GP widget endlessly shows the loading bars and won't continue to the widget configuration. Tried the "Add from Portal for ArcGIS" option and got the same result. Attempted to do the same thing in WAB 1.2. Same result. Tried in other browsers, same result.
Anyone using Portal experiencing this same issue? Is it a server config thing, possibly?
Solved! Go to Solution.
UPDATE: After multiple esri support teams working on this for a few weeks, it's officially been logged as a bug with the GP widget in WAB Dev.
BUG-000094152: Unable to configure the Geoprocessing widget in Web Appbuilder for ArcGIS (Developer Edition) when ArcGIS Server has Windows Authentification enabled on the web adaptor.
The print widget, query widget, etc., connects to GP services without any issue, but the GP widget routes through proxy.js and won't connect to any sort of service. It returns a 401 error.
I use ArcGIS Online (AGOL) not Portal, but I have a few suggestions to check anyway (once again, my iPad ate my previous, almost sent reply...so I'll try this again)
those are a few things I can think of, but it may also help if you add or clarify a few of the questions I had about your Portal software.
It's full Portal 10.3.1. WAB dev connects to Portal and everything else has been working fine so far. Portal is secured behind the corporate firewall, but the feature services and GP services are not "secured" beyond that. Because I can interect with Portal items from within WAB dev, and I'm sourcing a web map on Portal for the app and it's accessing the feature services just fine, I'm not sure why it would be restricting GP services.
I'm hoping someone on here who uses Portal can validate if they are having the same issue or not, before going the esri support route.
Additional details: Using WAB integrated with Portal, the GP widget works properly and will execute with an output. Importing the functioning app to WAB dev and launching it, the GP widget exists but it is missing the input options before clicking execute. Looks like this:
UPDATE: After multiple esri support teams working on this for a few weeks, it's officially been logged as a bug with the GP widget in WAB Dev.
BUG-000094152: Unable to configure the Geoprocessing widget in Web Appbuilder for ArcGIS (Developer Edition) when ArcGIS Server has Windows Authentification enabled on the web adaptor.
The print widget, query widget, etc., connects to GP services without any issue, but the GP widget routes through proxy.js and won't connect to any sort of service. It returns a 401 error.
Hello Cole,
Based on your screenshots of the issue, I am experiencing a similar issue in the native WAB in AGOL. Has this been resolved by Esri support or have given any update?
Thanks!