WAB 2.5: Custom Print Widget not working properly with proxy

502
1
07-18-2018 04:38 AM
Naveen_KumarKairamkonda
Occasional Contributor

Hi,

I created custom print button using ' esri/tasks/PrintTask' to print the map with graphics. For small area with graphics, Print tool is working fine but for larger areas with graphics like country/State level graphics, Print tool is not working. I configure the .net proxy in IIS and configure to WAB 2.5 in 'config.json' file. I am getting the "ERR_Connection_ABORTED" error. PFB image for the same.

Print Error

For small area with graphics, GET request is used and works fine. Whereas for bigger area with graphics, POST request method is used automatically. When i checked in ArcGIS server Logs, one warning message was there "Unable to get service usage timeout for  . defaulting to server directory timeout.....".

Any help !!

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Naveen,

   I do not see in the console where your print task request is getting proxy-ed. Did you add the PrintTask url to your proxy.config?

0 Kudos