[GH-ISSUE #456] Mount fails with error "s3fs: Failed to access bucket" #247

Closed
opened 2026-03-04 01:43:39 +03:00 by kerem · 2 comments
Owner

Originally created by @DarthKolli on GitHub (Jul 28, 2016).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/456

Here is the full info -

[root@mk-test1 ~]# /usr/bin/s3fs kmk-test3 mybucket -o default_acl=public-read -d -d -f -o f2 -o curldbg
set_moutpoint_attribute(3291): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40755)
FUSE library version: 2.9.2
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.22
flags=0x0000f7fb
max_readahead=0x00020000
s3fs_init(2595): init
s3fs_check_service(2894): check services.
CheckBucket(2228): check a bucket.
prepare_url(172): URL is http://s3.amazonaws.com/kmk-test3/
prepare_url(192): URL changed is http://kmk-test3.s3.amazonaws.com/
RequestPerform(1467): connecting to URL http://kmk-test3.s3.amazonaws.com/

  • About to connect() to kmk-test3.s3.amazonaws.com port 80 (#0)

  • Trying 54.231.237.43...

  • Connected to kmk-test3.s3.amazonaws.com (54.231.237.43) port 80 (#0)

    GET / HTTP/1.1
    Host: kmk-test3.s3.amazonaws.com
    Accept: /
    Authorization: AWS AKIAIYIG443UXLG2BP4A:cOvsfUhjhpafsD2yHxdbO0idqbE=
    Date: Thu, 28 Jul 2016 19:25:06 GMT

  • The requested URL returned error: 403 Forbidden

  • Closing connection 0
    RequestPerform(1595): ### CURLE_HTTP_RETURNED_ERROR
    RequestPerform(1600): HTTP response code =403
    s3fs: Failed to access bucket.

Version details
[root@mk-test1 ~]# which s3fs
/usr/bin/s3fs
[root@mk-test1 ~]# s3fs --version
Amazon Simple Storage Service File System 1.74
Copyright (C) 2010 Randy Rizun rrizun@gmail.com
License GPL2: GNU GPL version 2 http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally created by @DarthKolli on GitHub (Jul 28, 2016). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/456 Here is the full info - [root@mk-test1 ~]# /usr/bin/s3fs kmk-test3 mybucket -o default_acl=public-read -d -d -f -o f2 -o curldbg set_moutpoint_attribute(3291): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40755) FUSE library version: 2.9.2 nullpath_ok: 0 nopath: 0 utime_omit_ok: 0 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0 INIT: 7.22 flags=0x0000f7fb max_readahead=0x00020000 s3fs_init(2595): init s3fs_check_service(2894): check services. CheckBucket(2228): check a bucket. prepare_url(172): URL is http://s3.amazonaws.com/kmk-test3/ prepare_url(192): URL changed is http://kmk-test3.s3.amazonaws.com/ RequestPerform(1467): connecting to URL http://kmk-test3.s3.amazonaws.com/ - About to connect() to kmk-test3.s3.amazonaws.com port 80 (#0) - Trying 54.231.237.43... - Connected to kmk-test3.s3.amazonaws.com (54.231.237.43) port 80 (#0) > GET / HTTP/1.1 > Host: kmk-test3.s3.amazonaws.com > Accept: _/_ > Authorization: AWS AKIAIYIG443UXLG2BP4A:cOvsfUhjhpafsD2yHxdbO0idqbE= > Date: Thu, 28 Jul 2016 19:25:06 GMT - The requested URL returned error: 403 Forbidden - Closing connection 0 RequestPerform(1595): ### CURLE_HTTP_RETURNED_ERROR RequestPerform(1600): HTTP response code =403 s3fs: Failed to access bucket. Version details [root@mk-test1 ~]# which s3fs /usr/bin/s3fs [root@mk-test1 ~]# s3fs --version Amazon Simple Storage Service File System 1.74 Copyright (C) 2010 Randy Rizun rrizun@gmail.com License GPL2: GNU GPL version 2 http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
kerem closed this issue 2026-03-04 01:43:40 +03:00
Author
Owner

@DarthKolli commented on GitHub (Aug 2, 2016):

Time sync issue.

<!-- gh-comment-id:237054889 --> @DarthKolli commented on GitHub (Aug 2, 2016): Time sync issue.
Author
Owner

@DarthKolli commented on GitHub (Aug 2, 2016):

issue is resolved when time is sync'ed with ntp server

<!-- gh-comment-id:237055068 --> @DarthKolli commented on GitHub (Aug 2, 2016): issue is resolved when time is sync'ed with ntp server
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#247
No description provided.