I recently deployed Minio stand-alone on a K0s pod. I can successfully use mc on my laptop to authenticate and create a bucket on my pod’s ip:9000.
But when I try to access the web console and login I get a POST error to ip:9000 and I am unable to login.
Would anyone know what’s causing this?
I've just started a minio container to verify this and it fact there are two ports you need to publish which are
9000
and9001
.You can reach the admin console on port
9001
and the API on port9000
, hence yourmc
command which targets port9000
works but trying to login on port9000
fails.Edit
Now that I understand the problem better thanks to your comments I've tested on my Docker what happens when you login. And in fact there is a
POST
request happening when clicking onLogin
but it's not going to port9001
not9000
, so it seems the your webconsole somehow issues request to the wrong port.Here a screenshot of the Network tab in my DevTools showing the request that's being issued when I press Login.
I've copied the
curl
for this request from the DevTool and added the-i
flag so you can see the HTTP response code. You could try this with your appropriateaccessKey
andsecretKey
of course.Expected result: