Browse through the questions and answers listed below or filter and sort to narrow down your results.
Is SWF impacted by the us-east-1 2021-12-07 outage?
I know there's a major outage going on in us-east-1 right now, per https://status.aws.amazon.com/. The notice at the top of the page says "Services impacted include: EC2, Connect, DynamoDB, Glue, Athena, Timestream, and Chime and other AWS Services in US-EAST-1."
Per that page's status table (and this RSS feed: https://status.aws.amazon.com/rss/swf-us-east-1.rss ), SWF is currently working.
However, we're seeing tons of 500s in our app logs, and none of our processes that use SWF seem to be making progress.
Is SWF one of those "other impacted services"?
I don't know of any successful requests going through, so I think it is, but an official confirmation would be nice.
An edited example error from our PHP log follows:
```
Error: start_workflow_execution: exception 'AwsSwfExceptionSwfException' with message 'Error executing "StartWorkflowExecution" on "https://swf.us-east-1.amazonaws.com";
AWS HTTP error: Server error: `POST https://swf.us-east-1.amazonaws.com` resulted in a `500 Internal Server Error` response:
{"__type":"com.amazon.coral.service#InternalFailure","message":"All attempts to invoke operation: StartWorkflowExecution (truncated...)
```
Accepted AnswerAmazon Simple Workflow (Amazon SWF)
1
answers
1
votes
23
views
asked 5 months ago
Activity workflow threw ActivityTaskTimedOut but process is still running
Hi,
We currently have long running processes/jobs that are being executed via workflows. A workflow implementation calls the jobs to run. The call and the job runs asynchronously. By default, we have set the activity workflow to time-out after an hour.
We recently saw an issue where if a job has been running for more than an hour, SWF throws an ActivityTaskTimedOutException in our workflow implementation. We expected that this should also cause the long running job to stop, but what happens is that only the workflow implementation catches this exception but job still continued running in the background.
My question is, why did this not terminate the long running process? Is this an issue on how swf times-out processes, or do we need to have an implementation on our end that checks these time-out exceptions and terminate the process? If it is the latter, is there any guidance on how we should implement this?
We badly need some help on this as we have been searching for a solution on this for some time now.
Thank you!
Accepted AnswerAmazon Simple Workflow (Amazon SWF)
4
answers
0
votes
2
views
asked a year ago
Waiting on dynamic list of promises
Hello,
I would like to wait on a list of promises, but the list is dynamically updated (items are added to) by a signal handler.
I tried two approaches - @Wait in the function and waiting on AndPromise. In case of AndPromise - it is a member variable of WF class and gets recreated when a new promise is added to the list by signal handler.
In both cases the function starts execution as soon as the first promise in the list is ready.
How to fix it?
Accepted AnswerAmazon Simple Workflow (Amazon SWF)
1
answers
0
votes
0
views
asked 3 years ago