Skip to content

EKSPodOperator reconnection errors and log duplication #57585

Closed

Description

@NilsJPWerner

Apache Airflow version

3.1.1

If "Other Airflow 2/3 version" selected, which one?

No response

What happened?

We use aws access keys to authenticate against an EKS cluster to run KPO tasks. In long running tasks we get this log line, and then all the preceding logs will get re-printed.

WARNING - Failed to check container status due to permission error. Refreshing credentials and retrying.
ERROR - 'NoneType' object has no attribute 'groups'

What you think should happen instead?

No response

How to reproduce

Run a long running EKSPodOperator task using env vars for the access key

Operating System

Debian

Versions of Apache Airflow Providers

No response

Deployment

Astronomer

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:bug
    needs-triage
    on Oct 30, 2025
  2. added
    provider:cncf-kubernetes
    on Oct 30, 2025
  3. aviralgarg05 commented on Nov 1, 2025

    @aviralgarg05
    Contributor

    I would like to solve this issue

  4. rawwar commented on Nov 4, 2025

    @rawwar
    Contributor

    I would like to solve this issue

    @aviralgarg05 , please go ahead and work on it, raise a PR for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:corearea:providerskind:bugneeds-triageprovider:cncf-kubernetes

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions