[GH-ISSUE #2798] Ambiguous/Missing error connecting to non-aws buckets #1302

Open
opened 2026-03-04 01:52:56 +03:00 by kerem · 5 comments
Owner

Originally created by @andrewdscott12 on GitHub (Feb 2, 2026).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2798

Additional Information

Version of s3fs being used (s3fs --version)

V1.95 and up

Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse or dpkg -s fuse)

2.9.9

Provider (AWS, OVH, Hetzner, iDrive E2, ...)

IBM ICOS

Kernel information (uname -r)

5.14.0-503.40.1.el9_5.s390x

GNU/Linux Distribution, if applicable (cat /etc/os-release)

RHEL9.5

How to run s3fs, if applicable

[] command line
[X] /etc/fstab
rhui /var/lib/rhi fuse.s3fs _netdev,noatime,nonempty, allow_other,url=https://providerendpoint 0 0

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

Details about issue

Ambiguous/missing errors. Checked against current version of s3fs_check_service function, and omission still appears to exist. s3fs-fuse does not provide a useful error when failing to connect due to a certificate validation issue. If Certificate validation errors from curl were passed through to the error generated by s3fs-fuse, user experience would be dramatically improved. Currently, failures due to cert validations are essentially silent. It simply won't mount the bucket and the message in the log is null.

Originally created by @andrewdscott12 on GitHub (Feb 2, 2026). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2798 <!-- -------------------------------------------------------------------------- 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. --------------------------------------------------------------------------- --> ### Additional Information #### Version of s3fs being used (`s3fs --version`) <!-- example: V1.91 (commit:b19262a) --> V1.95 and up #### Version of fuse being used (`pkg-config --modversion fuse`, `rpm -qi fuse` or `dpkg -s fuse`) <!-- example: 2.9.2 --> 2.9.9 #### Provider (`AWS`, `OVH`, `Hetzner`, `iDrive E2`, ...) <!-- example: AWS --> IBM ICOS #### Kernel information (`uname -r`) <!-- example: 5.10.96-90.460.amzn2.x86_64 --> 5.14.0-503.40.1.el9_5.s390x #### GNU/Linux Distribution, if applicable (`cat /etc/os-release`) <!-- command result --> RHEL9.5 #### How to run s3fs, if applicable <!-- Describe the s3fs "command line" or "/etc/fstab" entry used. --> [] command line [X] /etc/fstab rhui /var/lib/rhi fuse.s3fs _netdev,noatime,nonempty, allow_other,url=https://providerendpoint 0 0 <!-- Executed command line or /etc/fastab entry --> ``` ``` #### 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. --> ``` s3fs.cpp:s3fs_check_service(4503): Failed to check bucket and directory for mount point: Unable to connect(host=https://providerendpoint, message=) ``` ### Details about issue <!-- Please describe the content of the issue in detail. --> Ambiguous/missing errors. Checked against current version of s3fs_check_service function, and omission still appears to exist. s3fs-fuse does not provide a useful error when failing to connect due to a certificate validation issue. If Certificate validation errors from curl were passed through to the error generated by s3fs-fuse, user experience would be dramatically improved. Currently, failures due to cert validations are essentially silent. It simply won't mount the bucket and the message in the log is null.
Author
Owner

@andrewdscott12 commented on GitHub (Feb 2, 2026):

Don't know why log message not in post

when failure occurs, message in syslog:

s3fs.cpp:s3fs_check_service(4503): Failed toc heck bucket and directory for mount point : Unable to connect(host=https://providerendpoint, message=)

<!-- gh-comment-id:3837507934 --> @andrewdscott12 commented on GitHub (Feb 2, 2026): Don't know why log message not in post when failure occurs, message in syslog: s3fs.cpp:s3fs_check_service(4503): Failed toc heck bucket and directory for mount point : Unable to connect(host=https://providerendpoint, message=)
Author
Owner

@ggtakec commented on GitHub (Feb 4, 2026):

@andrewdscott12 Could you please specify the curldbg option?
This should allow you to get the messages curl outputs.

<!-- gh-comment-id:3846815230 --> @ggtakec commented on GitHub (Feb 4, 2026): @andrewdscott12 Could you please specify the `curldbg` option? This should allow you to get the messages curl outputs.
Author
Owner

@andrewdscott12 commented on GitHub (Feb 4, 2026):

What prompted this issue was a support analyst beating their head against a wall for several days. In a corporate environment, such an analyst is often not allowed to make changes to the system, including adding debug switches to software invocations. They have to run them as-is and read the logs. In that kind of environment, A certificate validation error is a serious failure with a relatively simple remedy. If that could be surfaced without having to set a debug option, that would ideal.

<!-- gh-comment-id:3848306311 --> @andrewdscott12 commented on GitHub (Feb 4, 2026): What prompted this issue was a support analyst beating their head against a wall for several days. In a corporate environment, such an analyst is often not allowed to make changes to the system, including adding debug switches to software invocations. They have to run them as-is and read the logs. In that kind of environment, A certificate validation error is a serious failure with a relatively simple remedy. If that could be surfaced without having to set a debug option, that would ideal.
Author
Owner

@ggtakec commented on GitHub (Feb 8, 2026):

@andrewdscott12 I created #2799 PR for this issue.
This should display the curl error message at startup.
Could you try to check this PR's code?

<!-- gh-comment-id:3866008188 --> @ggtakec commented on GitHub (Feb 8, 2026): @andrewdscott12 I created #2799 PR for this issue. This should display the curl error message at startup. Could you try to check this PR's code?
Author
Owner

@andrewdscott12 commented on GitHub (Feb 8, 2026):

Code looks good. I'll compile the branch and test it Monday or Tuesday when I get back to work.

<!-- gh-comment-id:3868073908 --> @andrewdscott12 commented on GitHub (Feb 8, 2026): Code looks good. I'll compile the branch and test it Monday or Tuesday when I get back to work.
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#1302
No description provided.