-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
endpoint_url global option from AWS config is not working #57
Comments
@lusingander thanks for the quick fix. Will it work for non localhost |
If an endpoint url is specified, it will always be treated as if |
Thank you so much! Waiting for the next release. |
Hello! Thank you for the nice S3 utility.
I found a bug with AWS config and
endpoint_url
option. If you set endpoint_url with DNS records and port, for example:~/.aws/config
Then set credentials in correspond file:
~/.aws/credentials
You'll see buckets, but cannot open them and get an error:
In error.log I see:
Looks like
endpoint_url
is ignored andstu
is using public AWS instance:s3.amazonaws.com
.If I run
stu
with--endpoint-url
argument, everything works as expected (I see buckets and bucket's data):stu --endpoint-url http://localhost:9000
How to reproduce:
I've created docker-compose.yaml file to setup MinIO (we are using private MinIO in our project), create buckets and upload test file:
Run:
docker-compose up
Create aws directory with necessary config files:
Run
stu
without arguments and with--endpoint-url
at the next run.Workaround
I've added alias in my profile:
alias stu='stu --endpoint-url http://localhost:9000'
The text was updated successfully, but these errors were encountered: