Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Kinesis API's giving 404 while intializing worker from k8 pods using IRCA auth mechanism. #4

Description

@kashyap2108

Describe the bug

Inside worker.intialize() method when this method is called

streamDescription, err := w.kc.DescribeStream(context.TODO(), &kinesis.DescribeStreamInput{
		StreamName: &w.kclConfig.StreamName,
	})

We are Getting the following error while running from k8 pod.
failed to sign request: failed to retrieve credentials: failed to retrieve credentials, operation error STS: AssumeRoleWithWebIdentity, https response error StatusCode: 404

while running the worker from EC2 instance it's working fine.
we are using IRSA method for auth. mechanism from k8 pod.

Kinesis DescribeStream and ListShards Api's are failing and giving above error.

Reproduction steps

1.Try to run the worker from k8 pod which uses IRSA auth. mechanism.
...

Expected behavior

It should be able to use the Kinesis Stream APi's without any error.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions