I've created a Web Mapping Application using the WebApp Builder and tried to add a Directions Widget configured with a custom (public) NAServer, but it doesn't work: it keeps trying to load the service (see image below) and then it gives me an error of service "not found or not recognized" and suggests me to check the URL and/or credentials.
The NAServer is public, so there is no need to provide any credentials, and the URL is check and recognized automatically when you set it in the configuration form of the widget.
The routing service of the NAServer works fine, as I successfully used it in ArcMap.
I even accomplished to set a sample application, using the code provided in: Directions | ArcGIS API for JavaScript 3.17 , and it works fine, as shown in the image below:
The problem seems to be with the configuration of the directions widget.
I already tried to download the application and check the configuration code for the widget, but with no success.
Any thoughts / suggestions? Thanks.