[GH-ISSUE #1195] Error mounting a S3 bucket. PermanentRedirect #633

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

Originally created by @rafelamer on GitHub (Nov 11, 2019).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1195

Hi,
with the python boto3 library I can upload files to my bucket, so I know that I have access to it, but when I try to mount it with s3fs I get errors.
When I run the command
s3fs rafelamer.com /mnt -o use_path_request_style -o endpoint=rafelamer.com.s3.amazonaws.com -o dbglevel=info -f -o curldbg

I get the following errors

[ERR] curl.cpp:RequestPerform(2417): HTTP response code 301(Moved Permanently: also happens when bucket's region is incorrect), returning EIO. Body Text: <?xml version="1.0" encoding="UTF-8"?> <Error><Code>PermanentRedirect</Code><Message>The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.</Message><Endpoint>rafelamer.com.s3.amazonaws.com</Endpoint><Bucket>rafelamer.com</Bucket><RequestId>049E01E5ACD1317F</RequestId><HostId>FxcpBLNlm3yNKGnaw5Zh7ZT815AgXA3Od+JZFD4B1VInHqj6aDkgq0ndFV+ZKO2sAFefPSIzXfU=</HostId></Error> [ERR] curl.cpp:RequestPerform(2418): The options of url and endpoint may be useful for solving, please try to use both options. [ERR] curl.cpp:CheckBucket(3423): Check bucket failed, S3 response: <?xml version="1.0" encoding="UTF-8"?> <Error><Code>PermanentRedirect</Code><Message>The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.</Message><Endpoint>rafelamer.com.s3.amazonaws.com</Endpoint><Bucket>rafelamer.com</Bucket><RequestId>049E01E5ACD1317F</RequestId><HostId>FxcpBLNlm3yNKGnaw5Zh7ZT815AgXA3Od+JZFD4B1VInHqj6aDkgq0ndFV+ZKO2sAFefPSIzXfU=</HostId></Error> [INF] curl.cpp:ReturnHandler(318): Pool full: destroy the oldest handler

My bucket is in region EU (Frankfurt) and I use s3fs compiled from github on CentOS 7:

s3fs --version Amazon Simple Storage Service File System V1.85 (commit:cc4a307) with OpenSSL Copyright (C) 2010 Randy Rizun <rrizun@gmail.com> License GPL2: GNU GPL version 2 <https://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.

Does anybody knows how to mount my bucket?
Thanks.

Originally created by @rafelamer on GitHub (Nov 11, 2019). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1195 Hi, with the python boto3 library I can upload files to my bucket, so I know that I have access to it, but when I try to mount it with s3fs I get errors. When I run the command `s3fs rafelamer.com /mnt -o use_path_request_style -o endpoint=rafelamer.com.s3.amazonaws.com -o dbglevel=info -f -o curldbg` I get the following errors `[ERR] curl.cpp:RequestPerform(2417): HTTP response code 301(Moved Permanently: also happens when bucket's region is incorrect), returning EIO. Body Text: <?xml version="1.0" encoding="UTF-8"?> <Error><Code>PermanentRedirect</Code><Message>The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.</Message><Endpoint>rafelamer.com.s3.amazonaws.com</Endpoint><Bucket>rafelamer.com</Bucket><RequestId>049E01E5ACD1317F</RequestId><HostId>FxcpBLNlm3yNKGnaw5Zh7ZT815AgXA3Od+JZFD4B1VInHqj6aDkgq0ndFV+ZKO2sAFefPSIzXfU=</HostId></Error> [ERR] curl.cpp:RequestPerform(2418): The options of url and endpoint may be useful for solving, please try to use both options. [ERR] curl.cpp:CheckBucket(3423): Check bucket failed, S3 response: <?xml version="1.0" encoding="UTF-8"?> <Error><Code>PermanentRedirect</Code><Message>The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.</Message><Endpoint>rafelamer.com.s3.amazonaws.com</Endpoint><Bucket>rafelamer.com</Bucket><RequestId>049E01E5ACD1317F</RequestId><HostId>FxcpBLNlm3yNKGnaw5Zh7ZT815AgXA3Od+JZFD4B1VInHqj6aDkgq0ndFV+ZKO2sAFefPSIzXfU=</HostId></Error> [INF] curl.cpp:ReturnHandler(318): Pool full: destroy the oldest handler` My bucket is in region EU (Frankfurt) and I use s3fs compiled from github on CentOS 7: `s3fs --version Amazon Simple Storage Service File System V1.85 (commit:cc4a307) with OpenSSL Copyright (C) 2010 Randy Rizun <rrizun@gmail.com> License GPL2: GNU GPL version 2 <https://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.` Does anybody knows how to mount my bucket? Thanks.
kerem 2026-03-04 01:47:22 +03:00
  • closed this issue
  • added the
    need info
    label
Author
Owner

@gaul commented on GitHub (Jun 5, 2020):

Can you try testing with -o eu-central-1?

<!-- gh-comment-id:639441522 --> @gaul commented on GitHub (Jun 5, 2020): Can you try testing with `-o eu-central-1`?
Author
Owner

@gaul commented on GitHub (Aug 1, 2020):

Closing due to inactivity. Please reopen if symptoms persist.

<!-- gh-comment-id:667535273 --> @gaul commented on GitHub (Aug 1, 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#633
No description provided.