Comments and answers for "Batch Processing in FME Desktop working sporadically with AGOL" https://knowledge.safe.com/questions/99924/batch-processing-in-fme-desktop-working-sporadical.html The latest comments and answers for the question "Batch Processing in FME Desktop working sporadically with AGOL" Comment by runneals on runneals's comment https://knowledge.safe.com/comments/102043/view.html < div班ss="fr-view clearfix">

I have all of our jobs resubmit themselves when they error out using a topic/subscription on our scheduled tasks. Thanks for keeping us posted Bruce on the status of this. We have still been getting the 50x errors, but with our logic, I think it generally *should* work (although I haven't had much free time to verify).

Also thanks for sharing your workspace. Planning on taking a look at it when I get some time.

星期四,2019年11月07 02:18:21格林尼治时间 runneals
Comment by bruceharold https://knowledge.safe.com/comments/102006/view.html < div班ss="fr-view clearfix">

@runneals and @veenendaalo there are cases where AGOL responses are HTTP 200 status (OK) but the response body wraps an HTTP 50X error code, so the request retry logic in FME 2019.1 is not triggered. Without making any promises for Safe I know it is being addressed.

Wed, 06 Nov 2019 17:25:58 GMT bruceharold
Comment by veenendaalo on veenendaalo's comment https://knowledge.safe.com/comments/100569/view.html < div班ss="fr-view clearfix">

Thank you @bruceharold.

Thu, 17 Oct 2019 07:52:37 GMT veenendaalo
Comment by bruceharold on bruceharold's comment https://knowledge.safe.com/comments/100503/view.html < div班ss="fr-view clearfix">

See the attached for some retrying readers. The 5 second wait may be a bit extreme.

RefreshPropertyData2.fmw

Wed, 16 Oct 2019 14:13:44 GMT bruceharold
Comment by veenendaalo on veenendaalo's answer https://knowledge.safe.com/comments/100450/view.html < div班ss="fr-view clearfix">

I have to say that FME 2019.1 has improved the situation. Before I was getting maybe 7-10 out of 50 workspaces failing in my batch run and now its maybe 1 or 2. Still not solved the issue entirely. I did speak with ESRI regarding this and as @runneals mentions they state that a 'retry on failure logic' should be applied to get round this.

@bruceharold - thanks for the suggestions. Do you have an example of your 'use a FeatureReader in a custom transformer with looping from the Rejected port'.?

Is there also a way to increase the failure logic in 2019.1 from 3 to say 5?

Wed, 16 Oct 2019 07:00:21 GMT veenendaalo
Comment by bruceharold on bruceharold's comment https://knowledge.safe.com/comments/100431/view.html < div班ss="fr-view clearfix">

I hear you David, and the issue is getting attention, but in the meantime 2019.1 should solve job failures.

星期二,2019年10月15日20:32:43格林尼治时间 bruceharold
Comment by runneals on runneals's answer https://knowledge.safe.com/comments/100422/view.html < div班ss="fr-view clearfix">

@bruceharold @markatsafe The errors seem to occur less than they did (which at the height of it for us was way back in February/March). I'm pretty disappointed with esri when I get notified that it still is occurring even after SAFE has implemented their 3 retries and having multiple tickets open since February with esri. Their motto/documentation seem to say "just keep retrying until it works" but expecting applications to keep retrying forever isn't realistic. Just last week I had 35 jobs fail on the 8th, 40 fail on the 7th, 20 fail on the 6th with a 503 (and we've also been getting 500, 502, and 504 errors as well that esri can even reproduce. I could understand a couple a day, but 35+ is ridiculous considering 1 year ago we never really ran into any of these issues. Now that we're back into winter mode and running a lot more real-time FME jobs than we do during summer, it will be interesting to see how it performs over the next few months.

Tue, 15 Oct 2019 20:01:48 GMT runneals
Comment by markatsafe on markatsafe's comment https://knowledge.safe.com/comments/100403/view.html < div班ss="fr-view clearfix">

@veenendaalo curious to know if you were able to test with FME 2019.1 or higher and the timeout fixes that @bruceharold mentioned above. FME 2019.1 (build 19610) and higher will now retry three times if HTTP 500/502/503/504 responses are encountered.

Tue, 15 Oct 2019 17:32:04 GMT markatsafe
Comment by veenendaalo https://knowledge.safe.com/comments/99951/view.html < div班ss="fr-view clearfix">

There is a bug open on ESRI BUG-000123780 Making 'query' and 'applyEdits' requests to the ArcGIS Online hosted feature service intermittently returns 503 errors.

Tue, 08 Oct 2019 15:07:22 GMT veenendaalo
Comment by veenendaalo on veenendaalo's answer https://knowledge.safe.com/comments/99950/view.html < div班ss="fr-view clearfix">

Thanks - I'll try 2019.1 and see if that helps FME resolves it for me.

Tue, 08 Oct 2019 15:06:31 GMT veenendaalo
Comment by palhermans https://knowledge.safe.com/comments/99946/view.html < div班ss="fr-view clearfix">

Last week there was an upgrade of AGOL and we have seen quite a few "random errors" the last couple of days (for example randomly not possible to create new accounts, users can not access their accounts etc). I am tempted to suggest AGOL might be the problem.

Tue, 08 Oct 2019 14:50:29 GMT palhermans
Answer by bruceharold https://knowledge.safe.com/answers/99945/view.html < div班ss="fr-view clearfix">

Hi, you're hitting an issue coming from AGOL which is handled in FME 2019.1 with retry logic. If you can't move to 2019.1 then implement your own retry by refactoring your workspaces to use a FeatureReader in a custom transformer with looping from the Rejected port.

Tue, 08 Oct 2019 14:48:56 GMT bruceharold