[GH-ISSUE #738] Unable to mount bucket on S3-compliant storage #423

Closed
opened 2026-03-04 01:45:25 +03:00 by kerem · 3 comments
Owner

Originally created by @asitron on GitHub (Mar 28, 2018).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/738

Additional Information

The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all.

Version of s3fs being used (s3fs --version)

1.79

Version of fuse being used (pkg-config --modversion fuse)

example: 2.9.4

System information (uname -r)

4.4.0-97-generic

Distro (cat /etc/issue)

Ubuntu 16.04.2 LTS

s3fs command line used (if applicable)

s3fs bucket /opt/test -o passwd_file=/etc/passwd-cgw -o url=http://internal.s3.endpoint.net,use_path_request_style,allow_other,uid=1000,gid=1000,umask=227 -d

s3fs syslog messages (grep s3fs /var/log/syslog, or s3fs outputs)

if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages
[CRT] set_s3fs_log_level(250): change debug level from [CRT] to [INF]
[INF] set_moutpoint_attribute(4088): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40755)
[CRT] s3fs_init(3294): init v1.79(commit:unknown) with GnuTLS(gcrypt)
[INF] s3fs_check_service(3650): check services.
[INF] CheckBucket(2637): check a bucket.
[INF] prepare_url(4085): URL is http://internal.s3.endpoint.net/bucket/
[INF] prepare_url(4117): URL changed is http://internal.s3.endpoint.net/bucket/
[INF] insertV4Headers(2069): computing signature [GET] [/] [] []
[INF] url_to_host(99): url is http://internal.s3.endpoint.net
[INF] RequestPerform(1765): HTTP response code 404 was returned, returning ENOENT
[ERR] CheckBucket(2675): Check bucket failed, S3 response: NoSuchDomainThe specified domain does not exist./5370262FD6ACD883internal.s3.endpoint.net/bucket
[CRT] s3fs_check_service(3711): bucket not found - result of checking service.

This is an S3-compliant storage solution that is hosted internally. Other S3 tools (cyberduck, S3 Browser, etc) are able to connect with the same creds as I have configured on this Ubuntu instance. DNS seems to be okay, and the domain certainly exists on the endpoint. Thoughts?

Originally created by @asitron on GitHub (Mar 28, 2018). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/738 ### Additional Information _The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all._ #### Version of s3fs being used (s3fs --version) 1.79 #### Version of fuse being used (pkg-config --modversion fuse) _example: 2.9.4_ #### System information (uname -r) 4.4.0-97-generic #### Distro (cat /etc/issue) Ubuntu 16.04.2 LTS #### s3fs command line used (if applicable) s3fs bucket /opt/test -o passwd_file=/etc/passwd-cgw -o url=http://internal.s3.endpoint.net,use_path_request_style,allow_other,uid=1000,gid=1000,umask=227 -d #### s3fs syslog messages (grep s3fs /var/log/syslog, or s3fs outputs) _if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages_ [CRT] set_s3fs_log_level(250): change debug level from [CRT] to [INF] [INF] set_moutpoint_attribute(4088): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40755) [CRT] s3fs_init(3294): init v1.79(commit:unknown) with GnuTLS(gcrypt) [INF] s3fs_check_service(3650): check services. [INF] CheckBucket(2637): check a bucket. [INF] prepare_url(4085): URL is http://internal.s3.endpoint.net/bucket/ [INF] prepare_url(4117): URL changed is http://internal.s3.endpoint.net/bucket/ [INF] insertV4Headers(2069): computing signature [GET] [/] [] [] [INF] url_to_host(99): url is http://internal.s3.endpoint.net [INF] RequestPerform(1765): HTTP response code 404 was returned, returning ENOENT [ERR] CheckBucket(2675): Check bucket failed, S3 response: <?xml version="1.0" encoding="UTF-8"?><Error><Code>NoSuchDomain</Code><Message>The specified domain does not exist.</Message><Resource>/</Resource><RequestId>5370262FD6ACD883</RequestId><Domain>internal.s3.endpoint.net/bucket</Domain></Error> [CRT] s3fs_check_service(3711): bucket not found - result of checking service. This is an S3-compliant storage solution that is hosted internally. Other S3 tools (cyberduck, S3 Browser, etc) are able to connect with the same creds as I have configured on this Ubuntu instance. DNS seems to be okay, and the domain certainly exists on the endpoint. Thoughts?
kerem closed this issue 2026-03-04 01:45:26 +03:00
Author
Owner

@gaul commented on GitHub (Jan 15, 2019):

Could you try mounting with -o use_path_request_style?

<!-- gh-comment-id:454252612 --> @gaul commented on GitHub (Jan 15, 2019): Could you try mounting with `-o use_path_request_style`?
Author
Owner

@ggtakec commented on GitHub (Mar 29, 2019):

@gaul It seems that he already specified the use_path_request_style option.

@asitron
When s3fs first checked bucket, s3fs received an error that the following domain could not be found.

5370262FD6ACD883 internal.s3.endpoint.net

It is different from the domain specified in url option, can you imagine this with your S3-compliant storage?
If possible, try specifying the endpoint option as well.

<!-- gh-comment-id:477872311 --> @ggtakec commented on GitHub (Mar 29, 2019): @gaul It seems that he already specified the use_path_request_style option. @asitron When s3fs first checked bucket, s3fs received an error that the following domain could not be found. ``` 5370262FD6ACD883 internal.s3.endpoint.net ``` It is different from the domain specified in url option, can you imagine this with your S3-compliant storage? If possible, try specifying the endpoint option as well.
Author
Owner

@gaul commented on GitHub (Feb 3, 2020):

Closing due to inactivity. Please reopen if symptoms persist.

<!-- gh-comment-id:581293964 --> @gaul commented on GitHub (Feb 3, 2020): Closing due to inactivity. Please reopen if symptoms persist.
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#423
No description provided.