<?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 Custom AWS middleware unable to communicate with referenced REST services consistently in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-aws-middleware-unable-to-communicate-with/m-p/1681835#M5080</link>
    <description>&lt;P&gt;We are using Salesforce to create a work order. Then&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;AWS middleware is used to take that Salesforce data and, &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;using a feature service that references a SQL SDE feature class, &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;create a geometric feature populated with Salesforce data. &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Either a line or point is created. &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The geometric feature in SQL SDE is being used on a version.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CathyAlmberg_0-1770144355572.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/147816iD18627C7A779F4A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CathyAlmberg_0-1770144355572.png" alt="CathyAlmberg_0-1770144355572.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here's where we have a problem. We automate reconcile/post/compress daily at 2am. We have found that if we do not restart the REST services being written to by Salesforce/Middleware, that the Middleware request to create a feature in SDE via API, is failing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CathyAlmberg_2-1770144910679.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/147818i80201EFC10D617F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CathyAlmberg_2-1770144910679.png" alt="CathyAlmberg_2-1770144910679.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the REST services are restarted, feature creation by the Middleware works again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are running&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ArcGIS Enterprise 11.5,&lt;/LI&gt;&lt;LI&gt;SQL Server 2019.&lt;/LI&gt;&lt;LI&gt;Our SDE databases are traditional versioning (not branch versioning).&lt;/LI&gt;&lt;LI&gt;No Geometric network is involved.&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Tue, 03 Feb 2026 18:57:09 GMT</pubDate>
    <dc:creator>CathyAlmberg</dc:creator>
    <dc:date>2026-02-03T18:57:09Z</dc:date>
    <item>
      <title>Custom AWS middleware unable to communicate with referenced REST services consistently</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-aws-middleware-unable-to-communicate-with/m-p/1681835#M5080</link>
      <description>&lt;P&gt;We are using Salesforce to create a work order. Then&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;AWS middleware is used to take that Salesforce data and, &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;using a feature service that references a SQL SDE feature class, &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;create a geometric feature populated with Salesforce data. &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Either a line or point is created. &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The geometric feature in SQL SDE is being used on a version.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CathyAlmberg_0-1770144355572.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/147816iD18627C7A779F4A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CathyAlmberg_0-1770144355572.png" alt="CathyAlmberg_0-1770144355572.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here's where we have a problem. We automate reconcile/post/compress daily at 2am. We have found that if we do not restart the REST services being written to by Salesforce/Middleware, that the Middleware request to create a feature in SDE via API, is failing.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CathyAlmberg_2-1770144910679.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/147818i80201EFC10D617F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CathyAlmberg_2-1770144910679.png" alt="CathyAlmberg_2-1770144910679.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the REST services are restarted, feature creation by the Middleware works again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are running&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ArcGIS Enterprise 11.5,&lt;/LI&gt;&lt;LI&gt;SQL Server 2019.&lt;/LI&gt;&lt;LI&gt;Our SDE databases are traditional versioning (not branch versioning).&lt;/LI&gt;&lt;LI&gt;No Geometric network is involved.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 03 Feb 2026 18:57:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-aws-middleware-unable-to-communicate-with/m-p/1681835#M5080</guid>
      <dc:creator>CathyAlmberg</dc:creator>
      <dc:date>2026-02-03T18:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Custom AWS middleware unable to communicate with referenced REST services consistently</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-aws-middleware-unable-to-communicate-with/m-p/1681862#M5081</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/448874"&gt;@CathyAlmberg&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I think the geodatabase nightly compression operation might be altering the state lineage which can cause persistence connection might be becoming stale or live with invalid state ids.&lt;BR /&gt;&lt;BR /&gt;You can recycle the REST services after your 2AM updates so your middleware can have fresh connection to the updated database state.&lt;BR /&gt;&lt;BR /&gt;Please refer the documentation below.&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/recommended-version-administration-workflow.htm" target="_blank"&gt;Administer a traditional version—ArcGIS Pro | Documentation&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/reconcile-and-post-edits-to-a-version.htm" target="_blank"&gt;Reconcile and post edits to a traditional version—ArcGIS Pro | Documentation&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 20:20:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-aws-middleware-unable-to-communicate-with/m-p/1681862#M5081</guid>
      <dc:creator>VenkataKondepati</dc:creator>
      <dc:date>2026-02-03T20:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom AWS middleware unable to communicate with referenced REST services consistently</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-aws-middleware-unable-to-communicate-with/m-p/1682820#M5082</link>
      <description>&lt;P&gt;Thank you for your feedback Venkat. We have adjusted the REST service restarts to occur after the rec/post/compress, and this seems to do the trick.&lt;/P&gt;&lt;P&gt;Question, would branch versioning remedy this issue?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 18:38:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-aws-middleware-unable-to-communicate-with/m-p/1682820#M5082</guid>
      <dc:creator>CathyAlmberg</dc:creator>
      <dc:date>2026-02-06T18:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom AWS middleware unable to communicate with referenced REST services consistently</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-aws-middleware-unable-to-communicate-with/m-p/1682835#M5083</link>
      <description>&lt;P&gt;I don't think so. If we have posted the edits, the problem will start.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 19:21:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/custom-aws-middleware-unable-to-communicate-with/m-p/1682835#M5083</guid>
      <dc:creator>VenkataKondepati</dc:creator>
      <dc:date>2026-02-06T19:21:32Z</dc:date>
    </item>
  </channel>
</rss>

