mc: Unable to initialize new alias from the provided credentials. http: server gave HTTP response to HTTPS client.
Quote from moshe on 30/04/2023, 10:05 amProblem
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
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