Closed henrikskog closed 4 months ago
Thank you for reporting this, and thank you for your interest in this project.
I was not aware of the problem. Let me check a few things just to be sure.
$STU_ROOT_DIR/error.log
?It's nice to have an error message, but we probably don't need to show buckets other than the regions specified, as it's not useful with this tool.
It's a connection to aws, yes.
Filtering the list of buckets to only show buckets in the specified region makes sense. In this case, the error you get from trying to open a bucket in a different region is not relevant to this issue.
I have found this tool super useful, thank you for making it! Due to the problem described I first thought that the program did not work at all, as I could not open any of my buckets. This is why I think it's worth fixing.
The list of buckets show all buckets in the aws account for all regions. This makes it seem like they can all be accessed. However when trying to open a bucket that resides in a different region than specified (
ap-northeast-1
by default), it fails with the errorERROR: Failed to load objects
. It would be really useful to show ainvalid bucket region
or something in this case to avoid confusion.If you want I can make a pull request on this :) I have zero experience with rust so it would be interesting to give it a shot.