Skip to content

too many colons in address #85

@shellwhale

Description

@shellwhale
2025-04-04 12:10:37.039Z 2025-04-04T12:10:37.039Z       ERROR   an error occurred while creating a new minio admin client       {"logger": "s3client", "error": "address https://minio.minio.svc.cluster.local:9000: too many colons in address"}
2025-04-04 12:10:37.039Z github.com/InseeFrLab/s3-operator/controllers/s3/factory.newMinioS3Client
2025-04-04 12:10:37.039Z        /workspace/controllers/s3/factory/minioS3Client.go:57
2025-04-04 12:10:37.039Z github.com/InseeFrLab/s3-operator/controllers/s3/factory.GetS3Client
2025-04-04 12:10:37.039Z        /workspace/controllers/s3/factory/interface.go:56
2025-04-04 12:10:37.039Z main.main
2025-04-04 12:10:37.039Z        /workspace/main.go:166
2025-04-04 12:10:37.039Z runtime.main
2025-04-04 12:10:37.039Z        /usr/local/go/src/runtime/proc.go:271
2025-04-04 12:10:37.041Z panic: runtime error: invalid memory address or nil pointer dereference
2025-04-04 12:10:37.041Z [signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x15f2cb5]
2025-04-04 12:10:37.041Z 
2025-04-04 12:10:37.041Z goroutine 1 [running]:
2025-04-04 12:10:37.041Z github.com/minio/madmin-go/v3.(*AdminClient).SetCustomTransport(...)
2025-04-04 12:10:37.041Z        /go/pkg/mod/github.com/minio/madmin-go/v3@v3.0.34/api.go:187
2025-04-04 12:10:37.041Z github.com/InseeFrLab/s3-operator/controllers/s3/factory.newMinioS3Client(0xc000457b90)
2025-04-04 12:10:37.041Z        /workspace/controllers/s3/factory/minioS3Client.go:60 +0x275
2025-04-04 12:10:37.041Z github.com/InseeFrLab/s3-operator/controllers/s3/factory.GetS3Client({0x19d474d?, 0xd?}, 0x0?)
2025-04-04 12:10:37.041Z        /workspace/controllers/s3/factory/interface.go:56 +0x70
2025-04-04 12:10:37.041Z main.main()
2025-04-04 12:10:37.041Z        /workspace/main.go:166 +0xa79
Stream closed: EOF

From my Helm values

s3:
  endpointUrl: "https://minio.minio.svc.cluster.local:9000"

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