Skip to main content
Solved

Re-run reader after error in workbench

  • September 20, 2017
  • 1 reply
  • 5 views

pinkopo
Contributor
Forum|alt.badge.img+5

Hi guys,

I am trying to setup a workbench to download data from various feature servers. the reader's format is Esri ArcGIS Server Feature Service and i use feature writer to write the data.

I've been having this below error notice once a while, but it's normally gone after i re-run it after a while. Python Exception <HTTPError>: 502 Server Error: BAD_GATEWAY for url

- Is there a way I can setup in my workbench to let it keep running after one of the readers has this error?

- Can I let the workbench re-run that reader after receiving this error?

Thanks

Best answer by stalknecht

Yes, you can setup the workspace to ignore failed readers. See screenshot.

If you use a Workspacerunner then you could build in some re-run logic. If you like to stick to one workspace then you can use the featureReader and build the logic there.

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

1 reply

stalknecht
Contributor
Forum|alt.badge.img+19
  • Contributor
  • Best Answer
  • September 20, 2017

Yes, you can setup the workspace to ignore failed readers. See screenshot.

If you use a Workspacerunner then you could build in some re-run logic. If you like to stick to one workspace then you can use the featureReader and build the logic there.


Reply


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