Closed mblanche closed 1 year ago
Ah!! Looking at your code (although my .js is very weak...), I now see a possible issue. You are calling a secure host via https://, my current setup is http only. Looking at the endpoint, this http://test.eclipseb.io.s3.amazonaws.com/?list-type=2& returns and xml while https://test.eclipseb.io.s3.amazonaws.com/?list-type=2& returns an error.
However, updating the .js to http does not solve the problem. As I said, .js and web design is not what I do so I'm not sure what the real issue is.
Thanks
Hi @mblanche,
As I see now, you fixed all of your problems, and http://test.eclipseb.io.s3-website-us-west-2.amazonaws.com/ is working normally. If you don't have any problem fetching objects, feel free to close this issue.
Best, Ercan
Hi, this seems exactly what I am looking for. However, following the readme, I get a "Error fetching objects: Failed to fetch" error.
I have
static web hosting turned on in the bucket properties
In bucket permision, all of the "block public access" items are turned off
In permission, bucket policy is set to
In CORS, the following settings are in:
I confirmed that I can view a basic index.html from the S3 static webhost http://test.eclipseb.io.s3-website-us-west-2.amazonaws.com/
I cloned the repos and updated the s3.js file with
const bucketName = 'test.eclipseb.io'
Uploaded index.html, s3.js and dark-mode.css to the root of
s3://test.eclipseb.io
bucketPointing my browser back to http://test.eclipseb.io.s3-website-us-west-2.amazonaws.com/ give me the following error:
What am I missing?
Thanks