Skip to content
Discussion options

You must be logged in to vote

The expiration is a feature of the credentials, not Celery (see the variable credentials["Credentials"]["Expiration"]).

To confirm, these lines you run each 15 mins (or even better each 14 mins):

celery = worker.refresh_sqs_credentials()
task = celery.send_task('my_task.code_of_my_task', args=[content], task_id=task_id)

And yet you get the error?

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@zeehu1
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by auvipy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1459 on December 16, 2021 09:03.