Closed jf990 closed 2 years ago
Closing this. I've verified that ArcGIS REST JS is sending the proper requests in this scenario. The 504 error is likely the result of limited server resources. Since the fix is to do a bulk update (a best practice) anyway this isn't a REST JS issue.
Technical support submitted issue from Enterprise customer
Record#: BUG-000147513
Primary Dev Contact: Patrick Arlt
Severity: Medium
Bug Type: Failure/Error
Synopsis: Updating feature edits for an embedded credential feature service using REST JS will timeout (504 error)
Steps to Reproduce:
Reproducible with REST JS 3.4.3
Reproducible with an embedded credential feature service on a 10.9.1 Enterprise server
Not reproducible with a hosted feature service or a feature service (non-hosted) on a 10.9.1 Enterprise server
Not reproducible with a hosted feature service or an embedded credential feature service from ArcGIS Online
Updating feature edits for an embedded credential feature service using REST JS will timeout (504 error). Depending on the service, it might take at least 10 individual update feature edits in a for-loop before the requests timeout (504 error). Although the service requests times out, the edit requests are successfully applied because the changes are reflected in the query. Whether using a hosted feature service a non-hosted feature service (references a geodatabase), the issue seems specific to proxy services in Enterprise and using REST JS. Testing feature edits with chained requests from POSTMAN does not seem to reproduce 504 errors. As a workaround, applying a single bulk edit request rather than sending multiple individual edit requests will not generate a 504 error.
Issue seems similar BUG-000114163, BUG-000140115, and BUG-000114230
**Note: Keep in mind, reproducing the issue might make the Enterprise server become unresponsive until the service requests finish.
Steps to Reproduce:
-----Setting up the feature service-----
-----Running the app-----
Workaround:
Legacy Data Path:
Data Path: \esri.com\sf_filestore\PRD\Attachments\Defects\BUG-000147513
---Primary System Profile Information---
Product: ArcGIS REST JS
Version: 3.0
Service Pack:
OS Name: Windows OS
OS Version: 10.0
Language:
Extension:
Virtual Technology:
DBMS:
DBMS OS:
Web Server:
Servlet Engine:
Raster:
Mobile Device Type:
Mobile Device Model:
---Case Information---
Original Case #: 02972406
Submitted By: Nick Perez
Submit Date: 3/10/2022 5:56 PM
Account: Driscolls Inc
---Functional Map Information---
Product: Esri Rest JS
Version: No Version Found
Team: Esri Rest JS
Functional Area: Esri Rest JS
Description: Esri Rest JS API and Guide
System/End Point: GitHub
Package Assembly:
Project/View:
TFS Instance Prefix:
TFS Server URL:
TFS Project Name:
TFS Sub Project:
GitHub Server: https://github.com
GitHub Organization Name: ArcGIS
GitHub Repository Name: afd-open-source-and-third-party-doc