Select to view content in your preferred language

Print Widget for ArcGIS Portal - Unable to establish connection with AGSonline

5079
5
10-27-2015 01:28 PM
LakshmananVenkatesan
Frequent Contributor

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.

0 Kudos
5 Replies
SibghatUllah1
Regular Contributor

I am also facing the same issue.I think this is due to the proxy settings on arcgis server. what procedure you adopted to resolve this error?

AshleyPeters
Frequent Contributor

I had a similar problem using the print widget with the JavaScript API. After talking with Esri, my problem was caused by a setting on the host file on the server that ArcGIS Server is on.

RamakrishnaBillakanti
Regular Contributor

I've the same issue, did you guys found a solution or work around to come across.Thanks any help would be great. 

0 Kudos
RamakrishnaBillakanti
Regular Contributor

lakshmananslb‌ Did you resolved the issue. What is the resolution for this issue ?. Thanks. 

0 Kudos
SibghatUllah1
Regular Contributor

Dear Billakanti,

Sorry for replying late.we were also facing the problem which was due to proxy.Ask your IT department to set proxy using Arcgis server admin account. see the link ArcGIS Help 10.1 

We have our own basemap  image layer so we remove arcgis online basemap and print  tools work fine.

0 Kudos