Join the Webstudio community

Updated 3 weeks ago

Trouble using S3

I have self hosted the builder, I configured the environment variables for S3 but still getting 403 and cant make any upload. The credentials and everything is fine bec im using the same bucket at a different place for a similar thing, so need help figuring out how to resolve this.

Is there anything else we gotta do besides updating the env for the access keys and stuff
O
D
6 comments
Maybe try restarting the server, otherwise can't tell what's going on without access to your server and seeing exactly what's happening, e.g. did you add credentials in the right place? did you make a typo solmewhere? how can we know?
no the credentials are correct we rechecked them and they're working elsewhere .
we added the values of these env variables , thats all -

S3 envs

S3_BUCKET=
S3_REGION=
S3_ACL=public-read
S3_ENDPOINT=
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
I mentioned a few other things to check
also restart server after that
you can log somewhere in the server if your vars are being read into process.env
yes I've already checked everything you mentioned, and have restarted the server as well. The logs are also fine the request to S3 is fine but the response is always 403.
Add a reply
Sign up and join the conversation on Discord