Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS error: Specified token has exceeded its maximum lifetime #57

Open
jakubknejzlik opened this issue Mar 13, 2017 · 1 comment
Open

Comments

@jakubknejzlik
Copy link
Contributor

I've run into issue that instance of my SWF decider got response from AWS saying:
ValidationException: Specified token has exceeded its maximum lifetime

It happened after around 4 days of running.

Maybe it's not related, but before this error the decider receives another one for the few times (2x):
UnknownResourceFault: Unknown decision task

Does anyone run into this issue?

@KleinYuan
Copy link

KleinYuan commented May 1, 2017

@jakubknejzlik

You may get this error from pollForDecisionTask API while paging through history. The next page token returned from this API expires after 60 seconds. It's possible that your decider is holding on to the token longer than 60 seconds before using it. Decision tasks are expected to be short lived. Are you intentionally doing something in your decider that takes a long time?

Also you should not see this error when trying to complete an activity or a decision task. If a task times out, you will get an UnknownResource fault when you try to complete it.

Quotes from an AWS guy: https://forums.aws.amazon.com/thread.jspa?messageID=361624

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants