admin管理员组文章数量:1123593
I am running a Fargate task on ECS which is time consuming but I only start seeing this error recently.
My CMD
start up a Python script and has following steps:
- Enter Python from
CMD ["python3", "-m", "src.main"]
- Do some normal Python things (can take several hours)
- Connect/Upload objects to S3 with
boto3
I am getting error of
botocore.exceptions.WaiterError: Waiter TasksStopped failed: An error occurred (InvalidSignatureException): Signature expired: 20250108T075709Z is now earlier than 20250108T075926Z (20250108T080426Z - 5 min.)
I checked at the startup, the time on my task was correct by running date
command before python, and compare the logged time with the time show on CloudWatch log.
I try to start chrony
for time sync, but got permission issue because I cannot add SYS_TIME
to a Fargate task based on AWS.
Is there any other cause for the Signature Expired error since the time on startup was correct? Or any possible fix?
Thanks,
本文标签: pythonECS Fargate Task Error with Signature Expired Earlier Than 5 minsStack Overflow
版权声明:本文标题:python - ECS Fargate Task Error with Signature Expired Earlier Than 5 mins - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736585233a1945002.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论