I'm trying to use the Print widget in the 4.3 JS API. I get the following errors when I test it out.
1. Error executing tool. Export Web Map Task Job ID: jf8ec59473f97475a9649aa039c01190b : Layer "Wetland Mapper": Unable to connect to map server at https://map.com/MapServer. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task).
2. A connection with the server could not be established (WinINet Error while using HTTPS security, 12029), URL = https://map.com/MapServer?f=json
3. A connection with the server could not be established (WinINet Error while using HTTPS security, 12029), URL = https://map.com/arcgis/rest/info?f=json
I've tried using the default GP service and a custom one. Same errors on both. Also I have tried using http and https
What security method are you using GIS-tier or web-tier? I would recommend using GIS-tier.
Also, you will need to embed user credentials in your print service.
Printing maps that contain secured services—Documentation (10.3 and 10.3.1) | ArcGIS Enterprise
Solomon Pulapkura
I'm not using any secured services
Seems like rather an SSL issue. Are your URLs configured with webadaptor or directly to ArcGIS Server through port 6443 ?
For the latter, you should update certificate using the admin API:
Hi Jay - did you find a solution to your problem? I'm having the same issue in my custom web application. WE are utilizing the public FEMA NFHL service. When our application requests the data for display it works fine. We get the response and data draws.
However once I use our print button (built with the Export web map - Server GP tool) I receive the same error that you have posted.
The fun part (read as i'm losing my mind trying to fix) is that it works fine on my Beta but not on my Prod. I do have Portal federated with my server installed on Beta. I wonder if this is playing into the mix?
FWIW - I did find a solution to this issue. Our GIS server had an instance of I.E installed which was at version 9. When I upgraded this application to version 11 the security message that the GIS server was barking, went away and our maps printed. Nothing to do with the client side internet browser but the GIS server internet browser. I'm guessing there was a security upgrade/fix/patch with 11 that allowed our print service to work again.
yeah Microsoft.... ugh.
Collin
Thanks for the heads up! I am just now about to dive back into this issue. Testing Enterprise has had my full attention lately.
Hi Jay,
Did you ever find a solution? We are having a similar problem on our server but it was not the same as Collin's issue above.
Hey Brittney, I have not had a chance to work on this yet, sorry. I'll keep
ya posted
We are having the same issue:
MS IIS Reverse proxy server, two arcgis servers, web server (with web adapter and Portal for arcgis) are all located on the same subnet and DMZ.
We published a print service with templates.
The print service does not work in ESRI web appbuilder the Print widget.
The errors are:
1. A connection with the server could not be established (WinINet Error while using HTTPS security, 12029), URL = https://public-url/arcgis/rest/info?f=json
2. A connection with the server could not be established (WinINet Error while using HTTPS security, 12029), URL = https://public-url/arcgis/rest/services/folder/AClassA/MapServer?f=json
3. Error executing tool. Export Web Map : Layer "AClassA": Unable to connect to map server at https://public-url/arcgis/rest/services/folder/AClassA/MapServer. Failed to execute (ExportWebMap). Failed to execute (Export Web Map).
Could the experts in ESRI Redlands give some insights on the issue and provide possible solutions?
Thanks,
JYI