Skip to content

Error (System.NullRefenceException) when connecting to AWS S3 with Minio Client #788

@luanmm

Description

@luanmm

I'm using Minio Client to connect (in one of the environments) directly to an S3 instance (not a Minio server).

I'm using a Service Account (in my deployment/pod) to authenticate using IAM provider.

There is an error in this line. The logic seems to be wrong: is possible to see that url variable is getting its value from CustomEndPoint and in line 86 there is a test url is null, but if it can be null (which is my scenario), in the line 85 the variable couldn't be assigned to url.Authority (this is what throws the System.NullReferenceException).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions