[GH-ISSUE #2511] Socket Connection to server was not read from or written to within the timeout period. Idle connections will be closed. #1226

Open
opened 2026-03-04 01:52:23 +03:00 by kerem · 1 comment
Owner

Originally created by @skumar19822 on GitHub (Aug 13, 2024).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2511

Additional Information

Version of s3fs being used (s3fs --version) - V1.92 & V1.93

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

Kernel information (uname -r)

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

How to run s3fs, if applicable

[] command line
[] /etc/fstab

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

Details about issue

we are using s3fs-fuse version 1.92 and 1.93 as well,
mounted well using libs3fsawscredi.so -o readwrite_timeout=600 -o connect_timeout=600 -o retries=20.

it's running fine while transferring 800M file but we are getting an exception very rarely

Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.

but s3fs mount alive and it is working fine.

Kindly suggest what could be done to fix this issue, can we give -o readwrite_timeout=1800 -o connect_timeout=1200 would that help. Please advise on this.

Originally created by @skumar19822 on GitHub (Aug 13, 2024). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2511 <!-- -------------------------------------------------------------------------- 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. Keep in mind that the commands we provide to retrieve information are oriented to GNU/Linux Distributions, so you could need to use others if you use s3fs on macOS or BSD. --------------------------------------------------------------------------- --> ### Additional Information #### Version of s3fs being used (`s3fs --version`) - V1.92 & V1.93 <!-- example: V1.91 (commit:b19262a) --> #### Version of fuse being used (`pkg-config --modversion fuse`, `rpm -qi fuse` or `dpkg -s fuse`) <!-- example: 2.9.2 --> #### Kernel information (`uname -r`) <!-- example: 5.10.96-90.460.amzn2.x86_64 --> #### GNU/Linux Distribution, if applicable (`cat /etc/os-release`) <!-- command result --> #### How to run s3fs, if applicable <!-- Describe the s3fs "command line" or "/etc/fstab" entry used. --> [] command line [] /etc/fstab <!-- 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. --> ``` ``` ### Details about issue <!-- Please describe the content of the issue in detail. --> we are using s3fs-fuse version 1.92 and 1.93 as well, mounted well using libs3fsawscredi.so -o readwrite_timeout=600 -o connect_timeout=600 -o retries=20. it's running fine while transferring 800M file but we are getting an exception very rarely **Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.** but s3fs mount alive and it is working fine. Kindly suggest what could be done to fix this issue, can we give **-o readwrite_timeout=1800 -o connect_timeout=1200** would that help. Please advise on this.
Author
Owner

@ggtakec commented on GitHub (Aug 17, 2024):

@skumar19822 Thank you for reporting this.
However, this issue is about libs3fsawscred, not s3fs-fuse, so please repost this s3fs-fuse-awscred-lib.

To confirm why the timeout is occurring, set the LogLevel to the same as this explanation to obtain more information.
Please post an issue s3fs-fuse-awscred-lib with the results of your investigation.

Thanks in advance for your assistance.

<!-- gh-comment-id:2294520735 --> @ggtakec commented on GitHub (Aug 17, 2024): @skumar19822 Thank you for reporting this. However, this issue is about libs3fsawscred, not s3fs-fuse, so please repost this [s3fs-fuse-awscred-lib](https://github.com/ggtakec/s3fs-fuse-awscred-lib/issues). To confirm why the timeout is occurring, set the LogLevel to the same as [this explanation](https://github.com/ggtakec/s3fs-fuse-awscred-lib?tab=readme-ov-file#credlib_opts) to obtain more information. Please post an issue [s3fs-fuse-awscred-lib](https://github.com/ggtakec/s3fs-fuse-awscred-lib/issues) with the results of your investigation. Thanks in advance for your assistance.
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#1226
No description provided.