-
Notifications
You must be signed in to change notification settings - Fork 148
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
default region is unconfortable when using elsewhere than AWS #363
Comments
To back @fcomte suggestion, it seems like the workaround given in the README (specify |
@fcomte well, the main problem is that @pierre-lamarche Your statement is false, > bucketlist(base_url="127.0.0.1:9000", region="", use_https=FALSE,
key="minioadmin", secret="minioadmin")
Bucket CreationDate
1 test 2020-05-27T02:15:24.942Z
> R.version.string
[1] "R version 4.0.0 (2020-04-24)" so the difference must be something else. Please open a new issue with exact details of your configuration and make sure you're using latest version of the package. |
This behaviour is recent with aws.s3. This library is the only one i know that add region in case of a specific endpoint is set. I can quote for library
All know the region and the endpoint and they work. Back to previous behaviour of aws.s3 could be usefull |
But no tools use this AWS_S3_ENDPOINT. I would prefer to specify the endpoint url than setting region='' which is wrong and hack |
@fcomte Agree, that's exactly what I said above. I wouldn't write it that way and I don't know why it was introduced the way it is, but that's what the current API is. I want to re-write the whole part as the request handling is very inconsistent right now, but that can only be done by breaking the current API. |
Ok, you got a point @s-u I indeed reproduced the error with the same configuration and R 3.6. I actually tried using a Docker image for RStudio server 3.6 and it was working ; turning on a full Ubuntu configuration, with RStudio desktop, it fails. Sorry for jumping too quickly on conclusions. Will try to investigate so as to open a useful issue. |
Please specify whether your issue is about:
The requested url is prefixed by the region even if the AWS_S3_ENDPOINT is set.
Is it possible to set it to "" when an endpoint is set ?
The text was updated successfully, but these errors were encountered: