Skip to main content
Solved

FGDB to AGOL Connection Times Out

  • September 24, 2019
  • 3 replies
  • 29 views

Hello, I'm having a problem when trying to write records from an ESRI file geodatabase feature class to an ArcGIS Online hosted feature service. The error message in the log is as follows: ArcGIS Online Feature Service Writer: Encountered an unexpected error. The error code from the server was '504' and the message was: 'Your request has timed out.'. Details: '' Any ideas on how to resolve this issue? Thanks.

Best answer by markatsafe

@firegis In 2019.1 and higher we've added (so not in Esri Data Interoperability Extension yet) we have added some smarter timeout re-try for AGOL based readers/writers upon encountering an HTTP 500/502/503/504 responses. Hopefully this will address you timeout issues.

View original
Did this help you find an answer to your question?

3 replies

bruceharold
Contributor
Forum|alt.badge.img+17
  • Contributor
  • September 24, 2019

Hi, try reducing the features per request to 100-200 from the default 1000. Log a support call with Esri and provide the service URL so they can see the cluster being used. Provide a log file so they know the timestamp.


Forum|alt.badge.img+2
  • Best Answer
  • October 2, 2019

@firegis In 2019.1 and higher we've added (so not in Esri Data Interoperability Extension yet) we have added some smarter timeout re-try for AGOL based readers/writers upon encountering an HTTP 500/502/503/504 responses. Hopefully this will address you timeout issues.


markatsafe wrote:

@firegis In 2019.1 and higher we've added (so not in Esri Data Interoperability Extension yet) we have added some smarter timeout re-try for AGOL based readers/writers upon encountering an HTTP 500/502/503/504 responses. Hopefully this will address you timeout issues.

Hi markatsafe. I've been struggling all day with this issue. FME has been uploading features, timing out and 're-trying' which in turn has been adding to the feature hosted layer. The log shows no error and reports the incorrect number of written features on success when in fact it's duplicating data. To make matters worse, AGOL interprets these as new features and assigns a new obj Id instead of overwriting.

Reducing the features per request to 50 helped enormously.

I've been using FME for over 8 years and this has been my most frustrating day. Apologies for the rant, I've never posted on here, but thought this could help others experiencing the same problem

Cheers


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings