All, I am creating simple WAB from my ArcGIS Portal 10.3.1. I have published print Geoprocessing service (http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000005n1000000).
When I add this service in print widget and print my web map using WAB which has 7 internal layers and one from ArcGIS online service (http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer ) throws an error Error executing tool.
Export Web Map Job ID: j2948e112d0f543d186b321ae770e6d4a : Layer "World_Topo_Map_3924": Unable to connect to map server at http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer. Failed to execute (ExportWebMap).
Failed to execute (Export Web Map). A connection with the server could not be established (WinINet Error while using HTTPS security, 12029), URL = http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer?f=json
It clearly shows the print Geoprocessing service unable to connect services.arcgisonline. But my ArcGIS server web map which could show World Topo map and other internal layers. I dont understand why print GP service not able to connect.
My Print GP service should use same credentials to connect to AGS online and print. I tried updating print GP service with user (which has internet access) and republished the service. This also fails.
http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000005q3000000 When I print basic map without ArcGIS online, it works fine.
Please help me on this.