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

Accessing bucket but can't list folders #67

Open
kszpirak opened this issue Nov 10, 2019 · 5 comments
Open

Accessing bucket but can't list folders #67

kszpirak opened this issue Nov 10, 2019 · 5 comments

Comments

@kszpirak
Copy link

kszpirak commented Nov 10, 2019

I've followed all the instructions but can't see any of the root folders of the bucket. However I don't see any errors, so the buckets are being retrieved correctly and the object count is showing up in the top right corner. I am not sure what I may be doing wrong.
(Top right corner of the screenshot) Any ideas of what may be happening?
Screen Shot 2019-11-09 at 7 45 40 PM

Bucket Policy:

I am logging in through this JS app as user other than AWS-somerootUser, with full S3 permissions.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "BucketPolicyForSFTP",
            "Effect": "Allow",
            "Principal": {
                "AWS": "arn:aws:iam::123123123123:role/AWS-somerootUser"
            },
            "Action": "s3:*",
            "Resource": [
                "arn:aws:s3:::mybucket",
                "arn:aws:s3:::mybucket/*"
            ]
        }
    ]
}

My CORS:


<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
    <AllowedOrigin>*</AllowedOrigin>
    <AllowedMethod>GET</AllowedMethod>
    <AllowedMethod>POST</AllowedMethod>
    <AllowedMethod>PUT</AllowedMethod>
    <AllowedMethod>HEAD</AllowedMethod>
    <MaxAgeSeconds>3000</MaxAgeSeconds>
    <ExposeHeader>ETag</ExposeHeader>
    <ExposeHeader>x-amz-meta-myheader</ExposeHeader>
    <AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>

@john-aws
Copy link
Contributor

Just to confirm, are you saying that you see no errors and nothing unusual in the developer tools console?

@kszpirak
Copy link
Author

Nothing unusual. No console errors at all. Bucket contents show on Overview page of I go into S3 through AWS console.

Screen Shot 2019-11-11 at 1 09 42 PM

@kszpirak
Copy link
Author

I am wondering if there is any hope for resolution on this issue? I could speak directly to a person in charge of this dev effort to go over the settings and figure out what may be going wrong. Thanks.

@danil-smirnov
Copy link

@kszpirak I wasn't able to reproduce the issue so can't say anything.
But I see that the bucket name is not displayed next to "Amazon S3 Explorer (v2 alpha)" as it should on your screenshot.
What browser do you use?

@john-aws
Copy link
Contributor

@kszpirak Hi, you provided 3 lines from the console log. Was that everything? When I run this project, I see at least 20 lines. I presume you cut some lines out of your submission.

Could you run this in a different browser and in an incognito session. Preferably with no browser extensions. And preferably with no custom/user CSS stylesheet, just in case you have that.

Also, I'm not sure what scriplet.nl is. It appears in your console log. Are you pre-processing the repo files in some way before deploying them to your bucket? Are you able to deploy the code natively?

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

3 participants