<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Print widget - Increase timeout for Synchronous service? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/866067#M12323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert for reply.Currently proxy is not in place, I will try to&amp;nbsp;configure as mention in thread and hope this should resolve issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Apr 2019 02:41:10 GMT</pubDate>
    <dc:creator>PrashantKirpan</dc:creator>
    <dc:date>2019-04-11T02:41:10Z</dc:date>
    <item>
      <title>Print widget - Increase timeout for Synchronous service?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/866065#M12321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using customised print service in print widget -WAB 2.10. Service is synchronous and it fails to execute when exceeds 60 seconds. Works well with less execution time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to increase time in&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;esriConfig.defaults.io.timeout&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;and set service settings as mentioned below but still widget is showing&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;"Unable to Load \url\.. Status 0"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;error on UI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro" style="background: none #f6f6f6; border-left: 2px solid #cccccc; margin: 10px 0px; padding: 10px 20px;"&gt;&lt;P&gt;&lt;IMG __jive_id="441662" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/441663_pastedImage_3.png" style="border: 0px; margin: 2px 20px 0px;" /&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Is there any additional configuration is required?&amp;nbsp;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 10:36:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/866065#M12321</guid>
      <dc:creator>PrashantKirpan</dc:creator>
      <dc:date>2019-04-10T10:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Print widget - Increase timeout for Synchronous service?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/866066#M12322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this thread helps:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/181102"&gt;https://community.esri.com/thread/181102&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 12:48:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/866066#M12322</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-04-10T12:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Print widget - Increase timeout for Synchronous service?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/866067#M12323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert for reply.Currently proxy is not in place, I will try to&amp;nbsp;configure as mention in thread and hope this should resolve issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2019 02:41:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/866067#M12323</guid>
      <dc:creator>PrashantKirpan</dc:creator>
      <dc:date>2019-04-11T02:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Print widget - Increase timeout for Synchronous service?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/866068#M12324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned&amp;nbsp;in thread&amp;nbsp;&lt;A _jive_internal="true" data-containerid="2150" data-containertype="14" data-objectid="181102" data-objecttype="1" href="https://community.esri.com/thread/181102" style="color: #287433; background-color: #ffffff; border: 0px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;https://community.esri.com/thread/181102&lt;/A&gt;&amp;nbsp;i tried to configure proxy but still after 60 seconds widget\service is throwing error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After adding proxy,print request is redirected through proxy as displayed below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="44" src="https://community.esri.com/legacyfs/online/442411_pastedImage_3.png" width="794" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Proxy.config :&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;ProxyConfig allowedReferers="*" &amp;nbsp;mustMatch="false"&amp;gt; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;serverUrls&amp;gt; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;serverUrl url="Https://application.domain.name" &amp;nbsp;matchAll="true"/&amp;gt; &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/serverUrls&amp;gt; &lt;BR /&gt; &amp;lt;/ProxyConfig&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Print.js:&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;_getPrintTaskInfo: function(){&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;esriRequest({..&lt;/P&gt;&lt;P&gt;&amp;nbsp;},&lt;STRONG&gt;{useProxy: true, usePost: false}&lt;/STRONG&gt;).then(lang.hitch(this, function (data) {..}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;app config.json:&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;"httpProxy": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"useProxy": true,&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"alwaysUseProxy": false,&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"url": "https:/....../proxy.ashx",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"rules": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"urlPrefix":"https://....PrintTask/",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"proxyUrl":"https://.../proxy.ashx"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;BR /&gt; }&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Also service time out settings are&amp;nbsp; 600/300/18000 as mentioned in main thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from this any additional settings are required?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 04:53:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/866068#M12324</guid>
      <dc:creator>PrashantKirpan</dc:creator>
      <dc:date>2019-04-18T04:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Print widget - Increase timeout for Synchronous service?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/866069#M12325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The overall request timeout is set in the jimu.js/main.js file and is set to 3 minutes.&lt;/P&gt;&lt;P&gt;//set the default timeout to 3 minutes&lt;BR /&gt; esriConfig.defaults.io.timeout = 60000 * 3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am out of ideas as to why you are having an issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 12:54:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/866069#M12325</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-04-18T12:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Print widget - Increase timeout for Synchronous service?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/866070#M12326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is hard to identify where the timeout is defined in a complicated Infrastructure. Remember also the web server/firewall can have a timeout for requests.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Having said that, having said that it worked fine for me when I switched the printer service to&amp;nbsp;&amp;nbsp;Asynchronous mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2020 15:34:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/866070#M12326</guid>
      <dc:creator>Mehretab</dc:creator>
      <dc:date>2020-01-13T15:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Print widget - Increase timeout for Synchronous service?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/866071#M12327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I extended these timeouts, but i still got timeout after 5mins(300sec/300000milisec), so i searched for this number in the app, and in the jimu.js/main.js if found this at line 94 (wab 2.15):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;esriRequest&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;setRequestPreCallback&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;ioArgs&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #c586c0;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;ioArgs&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;content&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;amp;&amp;amp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;ioArgs&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;content&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;printFlag&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&amp;nbsp;{&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #6a9955;"&gt;//&amp;nbsp;printTask&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;ioArgs&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;timeout&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;= 3&lt;/SPAN&gt;&lt;SPAN style="color: #b5cea8;"&gt;00000&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i overwrote this number to 1200000 and finally i could export A0 size pdf (with PrintPlus widget, but probably this works with normal Print widget).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably this is not the answer for this question, but maybe a helpful info.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2020 13:57:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/866071#M12327</guid>
      <dc:creator>DávidGregor</dc:creator>
      <dc:date>2020-08-24T13:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Print widget - Increase timeout for Synchronous service?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/1054626#M14483</link>
      <description>&lt;P&gt;&lt;EM&gt;"Having said that, having said that it worked fine for me when I switched the printer service to&amp;nbsp;&amp;nbsp;Asynchronous mode."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Every ESRI post on using geoprocessing print services stated the printer service MUST be set to Synchronous. Doing that results in timeout and job failure if executing a long print job. I switched to Asynchronous as per your recommendation and that fixed it! I think ESRI needs to modify their documentation.&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 13:59:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget-increase-timeout-for-synchronous/m-p/1054626#M14483</guid>
      <dc:creator>wcozzens</dc:creator>
      <dc:date>2021-05-05T13:59:28Z</dc:date>
    </item>
  </channel>
</rss>

