rzrbld / adminio-api

simple admin API for min.io (minio) s3 server
MIT License
23 stars 8 forks source link

The Access Key Id you provided does not exist #16

Open knogbe opened 3 years ago

knogbe commented 3 years ago

I try to use your app but this is what I get when deploy in the api log and the ui complain of backend reacheability.

2020/12/15 02:34:31 The Access Key Id you provided does not exist in our records. 2020/12/15 02:34:31 The Access Key Id you provided does not exist in our records. 2020/12/15 02:34:31 The Access Key Id you provided does not exist in our records.

rzrbld commented 3 years ago

Hi @knogbe can you please provide more details:

knogbe commented 3 years ago

Below is the docker-compose manifest that I deployed.

version: '3' services: adminio-ui: image: rzrbld/adminio-ui:release-1.7 environment: API_BASE_URL: "http://10.99.x.x:8080" ADMINIO_MULTI_BACKEND: "false" ADMINIO_BACKENDS: '[{"name":"myminio","url":"http://10.99.0.126:8080"},{"name":"10.99.x.x","url":"http://10.99.x.x:8081"},{"name":"error","url":"http://10.99.x.x:8082"}]' NGX_ROOT_PATH: "/" ports:

This is straight docker deployment using docker-compose. Minio version: / # minio --version minio version RELEASE.2020-09-05T07-14-49Z I provided minio admin credentials through the environment variable as shown in the docker compose manifest and I was able to see the env in the docker container as well see below:

root@nex-nfs01:~/adminio-ui# docker exec -ti a77e183300e0 env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOSTNAME=a77e183300e0 TERM=xterm ADMINIO_HOST_PORT=0.0.0.0:8080 MINIO_ACCESS=XZfg2rq9xUQfEuyQfQ== MINIO_HOST_PORT=10.200.0.126:9000 MINIO_SECRET=6sM+9847hwuojZYFHBuQEzmpdFGd55sUan+WrA= HOME=/root