<h2>[CMP/Discovery] APIProxyProbe reports sensor error during cloud resource discovery for Azure</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Description</h3><section><ul style="list-style-position: inside;"><li>During the Cloud resource discovery for Azure, the APIProxyProbe runs out of time due to processing the huge payload for the Multipage sensor and below error will be reported in the ECC queue containing <strong>"Executing API DSL for correlation id ('midserver-8f6d7821-7531-4889-9c8a-220fba13a6c3') - MultiPage 81 of 82"</strong></li></ul> <p style="padding-left: 40px;"><strong>Sensor error: Transaction cancelled: maximum execution time exceeded</strong></p> <p style="padding-left: 40px;"><strong><img style="align: baseline;" title="" src="sys_attachment.do?sys_id=0cd15c89dbcc78d066e0a345ca961923" alt="" width="950" height="350" align="baseline" border="" hspace="" vspace="" /></strong></p></section></div><div ><h3 >Release or Environment</h3><section><ul style="list-style-position: inside;"><li>Instance with Cloud Management capability.</li></ul></section></div><div ><h3 >Cause</h3><section><ul style="list-style-position: inside;"><li>This sensor error will occur when discovering Cloud resource which has a huge number of resources i.e. if the payload is too large to be processed.</li></ul></section></div><div ><h3 >Resolution</h3><section><ul style="list-style-position: inside;"><li>We generally store these payloads chunk by chunk, i.e if 1/1 means then we had only a small set of data which will get processed only in one chunk.</li><li>But in a specific case if the data which came back was large enough and had to be processed chunk by chunk i.e. if 60/99 means you revoked 99 chunk of the response as the data here is large it is expected to take time to process the payload.</li><li>In order to resolve this Multipage sensors timeout issue,</li></ul> <ol style="list-style-position: inside;"><li>Increase the "Discovery MultiPage Sensors" Transaction Quota Rule from 3600 (1 hour) to 259200 (72 hours) (or) any desired value to avoid premature timeouts during long-running cloud resource discoveries.</li></ol> <p style="padding-left: 80px;"><strong>Discovery MultiPage Sensors</strong></p> <p style="padding-left: 80px;">Navigate >> System Definition >> Transaction Quota Rules >> Discovery MultiPage Sensors >> Maximum Duration (seconds).</p> <ol style="margin-bottom: 0in; margin-top: 0px; list-style-position: inside;" start="2"><li>Set the MID Server configuration parameter for "mid.capi.chunk_size" to 1000 (instead of default 200). So that Multipage sensors will have enough time to process the large payload.</li></ol> <p style="padding-left: 80px;"><strong>mid.capi.chunk_size</strong></p> <p style="padding-left: 80px;">Navigate >> MID Server >> Server >> Select each MID server >> Click on "Configuration Parameter" tab >> click "NEW" >> under the Parameter Name section, select "mid.capi.chunk_size" and set the Value to "1000".</p></section></div></article></div>