Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to access Object Lambda Access Point alias #806

Open
h2cone opened this issue Oct 12, 2024 · 0 comments
Open

Unable to access Object Lambda Access Point alias #806

h2cone opened this issue Oct 12, 2024 · 0 comments

Comments

@h2cone
Copy link

h2cone commented Oct 12, 2024

Hello,

I'm trying to mount an S3 Object Lambda Access Point alias to my local file system using goofys, but it seems that goofys is unable to access the alias.

root in ~/playground/goofys
❯ aws s3api get-bucket-location --bucket olap-els3-ii4uo9ht3zp6gsnhwgask1wfeuc1a--ol-s3
{
    "LocationConstraint": "eu-central-1"
}

root in ~/playground/goofys
❯ ./goofys -f --debug_s3 olap-els3-ii4uo9ht3zp6gsnhwgask1wfeuc1a--ol-s3 /home/aws/mnt/olap-els3
2024/10/12 11:15:39.026240 s3.DEBUG HEAD https://s3.amazonaws.com/olap-els3-ii4uo9ht3zp6gsnhwgask1wfeuc1a--ol-s3 = 200 [eu-central-1]
2024/10/12 11:15:39.026323 s3.INFO anonymous bucket detected
2024/10/12 11:15:39.026350 s3.INFO Switching from region 'us-east-1' to 'eu-central-1'
2024/10/12 11:15:39.026579 s3.DEBUG DEBUG: Request s3/HeadObject Details:
---[ REQUEST POST-SIGN ]-----------------------------
HEAD /olap-els3-ii4uo9ht3zp6gsnhwgask1wfeuc1a--ol-s3/9j02ssys7zjlhwornxl6gysdvgwoncls HTTP/1.1
Host: s3.eu-central-1.amazonaws.com
User-Agent: aws-sdk-go/1.17.13 (go1.13.1; linux; amd64)


-----------------------------------------------------
2024/10/12 11:15:39.709931 s3.DEBUG DEBUG: Response s3/HeadObject Details:
---[ RESPONSE ]--------------------------------------
HTTP/0.0 301 Moved Permanently
Content-Length: 0


-----------------------------------------------------
2024/10/12 11:15:39.710051 s3.DEBUG DEBUG: Validate Response s3/HeadObject failed, not retrying, error BucketRegionError: incorrect region, the bucket is not in 'eu-central-1' region at endpoint ''
        status code: 301, request id: , host id:
2024/10/12 11:15:39.710086 main.ERROR Unable to access 'olap-els3-ii4uo9ht3zp6gsnhwgask1wfeuc1a--ol-s3': BucketRegionError: incorrect region, the bucket is not in 'eu-central-1' region at endpoint ''
        status code: 301, request id: , host id:
2024/10/12 11:15:39.710149 main.FATAL Mounting file system: Mount: initialization failed

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant