mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[GH-ISSUE #1308] s3fs uses the old endpoints/path of s3 instead of new one #699
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#699
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doxa-holdings on GitHub (Jun 11, 2020).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1308
Additional Information
I cannot connect to my s3 and realize that the url that s3fs used to connect with s3 is incorrect.
Version of s3fs being used (s3fs --version)
1.82
Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)
2.9.7
Kernel information (uname -r)
4.15.0-1065-aws
GNU/Linux Distribution, if applicable (cat /etc/os-release)
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
s3fs command line used, if applicable
s3fs server-stag1 mnt/server-stag1 -o passwd_file=.passwd-s3fs
/etc/fstab entry, if applicable
s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)
if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages
Details about issue
The host is using
server-stag1.s3-ap-southeast-1.amazonaws.com, however, aws change the host to another style:s3-ap-southeast-1.amazonaws.com/server-stag1.Ref: https://aws.amazon.com/blogs/aws/amazon-s3-path-deprecation-plan-the-rest-of-the-story/
@gaul commented on GitHub (Jun 12, 2020):
@doxa-holdings What is the resolution of this issue? Do we need to update the examples or does some code have an issue?
@doxa-holdings commented on GitHub (Jun 13, 2020):
Hello @gaul ,
I found resolution right after posting the thread.
In order to use the new naming convention of S3, we need to add url option. Example as below:
s3fs sftp-stag1 mnt/sftp-stag1/ -o passwd_file=.passwd-s3fs -o curldbg -o url=https://s3-ap-southeast-1.amazonaws.comYou can just update the doc with more notes. Thank you.