None of the API calls to perform functions on the minio server running locally works
Here is how I am connecting to the server and listing the buckets
// Use a secure connection.
ssl := false
// Initialize minio client object.
minioClient, err := minio.New("localhost:9000", "minioadmin", "minioadmin", ssl)
if err != nil {
fmt.Println(err)
return
}
err = minioClient.MakeBucket("testlalabucket", "")
fmt.Println(err)
Throws error
[] XML syntax error on line 10: element <link> closed by </head>
Using the CLI to communicate with the minio server:
➜ ~ mc ls localminio
mc: <ERROR> Unable to list folder. XML syntax error on line 10: element <link> closed by </head>
Doing another operation (make buckets)
mc: <ERROR> Unable to make bucket `localminio/mylalabucket`. The specified bucket does not exist.
(1) mb-main.go:145 cmd.mainMakeBucket(..) Tags: [localminio/mylalabucket]
(0) client-s3.go:1120 cmd.(*s3Client).MakeBucket(..)
I can access the UI of the minio server to perform all these operation but just not able to do so via the API.