meta.me
08/06/2023, 11:07 PMPermissionDenied error even though I've double checked my creds, endpoint, etc. Any known issues around this?
builder.root("/data");
builder.bucket("new-bucket");
builder.endpoint("http://192.168.1.80:9000");
builder.access_key_id("minioadmin");
builder.secret_access_key("minioadmin");
let op: Operator = Operator::new(builder)?.finish();
let mut file = File::open(path).expect("Unable to open file");
let mut buf = Vec::new();
file.read_to_end(&mut buf)?;
op.write(&format!("{}/{}", "uploads", &file_id), buf).await?
I also tried this against the play.min.io instance using their creds. I'm able to connect to both without issue using the mc cli client. Thought I'd ask here instead of open an issue directly, but happy to do that if preferred.Xuanwo
08/07/2023, 3:08 AMXuanwo
08/07/2023, 3:09 AMus-east-1 for non-AWS s3 instance, but it seems not a good idea.Xuanwo
08/07/2023, 3:20 AMmeta.me
08/07/2023, 12:00 PMmeta.me
08/14/2023, 7:34 PMlet mut builder = S3::default();
builder.endpoint("https://s3.amazonaws.com");
builder.bucket("new-bucket");
builder.region("us-east-1");
let op: Operator = Operator::new(builder)?.finish();
write:
let mut file = File::open(path).expect("Unable to open file");
let mut buf = Vec::new();
file.read_to_end(&mut buf)?;
op.write(&format!("{}/{}", "uploads", &file_id), buf).await?
list:
let entries = op.blocking().list("/")?;
entries.into_iter().for_each(|e| {
println!("{e:?}");
});
both of these ops are failing with error message:
Unsupported(permanent) at {blocking_list,write} => operation is not supported
the at {} depending on the op of courseXuanwo
08/15/2023, 2:13 AMXuanwo
08/15/2023, 2:13 AMXuanwo
08/15/2023, 2:15 AMwrite also failed, would you like to share the full example so that we can reproduce it?meta.me
08/15/2023, 7:23 PMXuanwo
08/16/2023, 3:13 AMXuanwo
08/16/2023, 3:14 AMhttps://cdn.discordapp.com/attachments/1137884797830696960/1141208234057809930/image.png▾
Xuanwo
08/16/2023, 3:14 AMhttps://cdn.discordapp.com/attachments/1137884797830696960/1141208386369753169/image.png▾
Xuanwo
08/16/2023, 3:14 AMaws_builder.meta.me
08/16/2023, 3:21 AMXuanwo
08/16/2023, 3:26 AMmeta.me
08/16/2023, 3:28 AMXuanwo
08/16/2023, 3:29 AMmeta.me
08/16/2023, 3:30 AMmeta.me
08/16/2023, 3:46 PMbuilder from my config functions.meta.me
08/20/2023, 7:37 PMBuilder is implemented for () in the openDAL project. I was wondering what the purpose of this implementation is and whether or not it could/does contribute to a less desirable developer experience?Xuanwo
08/21/2023, 3:25 AMXuanwo
08/21/2023, 3:26 AMmeta.me
08/21/2023, 3:30 AMXuanwo
08/21/2023, 3:57 AMmeta.me
08/21/2023, 3:59 AM