You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Greg Ferrar (JIRA)" <ji...@apache.org> on 2019/07/18 17:59:00 UTC

[jira] [Created] (AIRFLOW-4991) 401 error when EKS task runs longer than 15 minutes

Greg Ferrar created AIRFLOW-4991:
------------------------------------

             Summary: 401 error when EKS task runs longer than 15 minutes
                 Key: AIRFLOW-4991
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4991
             Project: Apache Airflow
          Issue Type: Bug
          Components: authentication
    Affects Versions: 1.10.3
            Reporter: Greg Ferrar


Using KubernetesOperator with EKS, tasks that run more than 15 minutes result in a `401 Unauthenticated` error after the worker script successfully completes.

This is due to EKS having a 15-minute timeout on its authentication token.

Solution is to re-authenticate with EKS at least every fifteen minutes, or maybe just at the end of the job.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)