[GH-ISSUE #462] Input/Output Error Using SSE:KMS #254

Closed
opened 2026-03-04 01:43:42 +03:00 by kerem · 1 comment
Owner

Originally created by @bsusensjackson on GitHub (Aug 24, 2016).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/462

Attempting to copy files from bucket when running:

s3fs my-bucket /var/s3 -o use_sse=k,allow_other,curldbg -d -d -f

With environment variable AWSSSEKMSID set results in:

< HTTP/1.1 400 Bad Request
< x-amz-request-id: 3DF2F449C5B7790
< x-amz-id-2: /y1N4BDfN2x8ZEeUA5o2gVelaFzkZD7xDwfdskjlsdfAAMlJPpBLlmtBGs39F3PyoJYfs=
< Content-Type: application/xml
< Transfer-Encoding: chunked
< Date: Wed, 24 Aug 2016 23:24:18 GMT
< Connection: close
* Server AmazonS3 is not blacklisted
< Server: AmazonS3
<
* Closing connection 30
[INF]       curl.cpp:RequestPerform(1922): HTTP response code 400 was returned, returning EIO.
[ERR] fdcache.cpp:Read(1589): could not download. start(0), size(4096), errno(-5)
[WAN] s3fs.cpp:s3fs_read(2122): failed to read file(/path/to/myfile.json). result=-5
   unique: 72, error: -5 (Input/output error), outsize: 16

Please advise, thanks.

Originally created by @bsusensjackson on GitHub (Aug 24, 2016). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/462 Attempting to copy files from bucket when running: `s3fs my-bucket /var/s3 -o use_sse=k,allow_other,curldbg -d -d -f` With environment variable `AWSSSEKMSID` set results in: ``` < HTTP/1.1 400 Bad Request < x-amz-request-id: 3DF2F449C5B7790 < x-amz-id-2: /y1N4BDfN2x8ZEeUA5o2gVelaFzkZD7xDwfdskjlsdfAAMlJPpBLlmtBGs39F3PyoJYfs= < Content-Type: application/xml < Transfer-Encoding: chunked < Date: Wed, 24 Aug 2016 23:24:18 GMT < Connection: close * Server AmazonS3 is not blacklisted < Server: AmazonS3 < * Closing connection 30 [INF] curl.cpp:RequestPerform(1922): HTTP response code 400 was returned, returning EIO. [ERR] fdcache.cpp:Read(1589): could not download. start(0), size(4096), errno(-5) [WAN] s3fs.cpp:s3fs_read(2122): failed to read file(/path/to/myfile.json). result=-5 unique: 72, error: -5 (Input/output error), outsize: 16 ``` Please advise, thanks.
kerem closed this issue 2026-03-04 01:43:43 +03:00
Author
Owner

@bsusensjackson commented on GitHub (Aug 25, 2016):

Solved by using: -o url=https://s3.amazonaws.com

<!-- gh-comment-id:242254372 --> @bsusensjackson commented on GitHub (Aug 25, 2016): Solved by using: `-o url=https://s3.amazonaws.com`
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#254
No description provided.