Forum Navigation
You need to log in to create posts and topics.

mc: Unable to initialize new alias from the provided credentials. http: server gave HTTP response to HTTPS client.

Problem

User tries to run mc command to download files from minio system and gets the following error

mc: <ERROR> Unable to initialize new alias from the provided credentials. Get "https://minio.k8s.tracston.com:80": http: server gave HTTP response to HTTPS client.

Solution 

You are trying to access https protocol but trying to connect to port 80. Either remove port 80 or change to http access

mc alias set dte https://minio.k8s.tracston.com dte download