Log in
Log into community
Share feedback, ideas and get community help
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
AWS Bucket Issues
AWS Bucket Issues
Inactive
0
Follow
D
Diego Eloy
10 months ago
Β·
Hi, guys. and I are trying to connect typebot to the AWS S3 service, but we are unable to store the objects. Our bucket policies are:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadWriteAccess",
"Effect": "Allow",
"Principal": "
"
,
"Action
"
:
"s3
:
",
"Resource": [
"arn:aws:s3:::<bucket-name>",
"arn:aws:s3:::<bucket-name>/
"
]
}
]
}
And our CORS policies are
:
[
{
"AllowedHeaders
"
:
[
"
"
],
"AllowedMethods": [
"PUT",
"POST"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": [
"ETag"
],
"MaxAgeSeconds": 3000
}
]
The ACLs are disabled.
Does anyone know what could be preventing the access?
3
R
t
B
29 comments
Share
Open in Discord
R
Rafael Roque
10 months ago
please help me
t
tecmusti
10 months ago
Maybe this will work
t
tecmusti
10 months ago
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadWriteAccess",
"Effect": "Allow",
"Principal": "
"
,
"Action
"
:
[
"
s
3
:GetObject
"
,
"
s
3
:ListBucket
"
]
,
"Resource
"
:
[
"
a
r
n
:
a
w
s
:
s
3
:
:
:
<bucket-name
>
"
,
"
a
r
n
:
a
w
s
:
s
3
:
:
:
<bucket-name
>
/public
/
"
]
}
]
}
B
Baptiste
10 months ago
Follow the guide:
https://docs.typebot.io/self-hosting/guides/s3
R
Rafael Roque
10 months ago
@tecmusti Bucket policy or Access Point policy ?
t
tecmusti
10 months ago
@Rafael Roque Bucket Policy
R
Rafael Roque
10 months ago
@tecmusti why did you get this error? Any suggestions?
p.s: I'm using this endpoint http://s3-accesspoint.sa-east-1.amazonaws.com/
Attachment
A
Abdullah
10 months ago
check your browser console logs, the issue will most likely be present there
t
tecmusti
10 months ago
@Rafael Roque I really don't know, you should check logs.
R
Rafael Roque
10 months ago
@tecmusti
Attachment
R
Rafael Roque
10 months ago
Attachment
R
Rafael Roque
10 months ago
HEAD, POST, DELETE
Attachment
R
Rafael Roque
10 months ago
@tecmusti @Baptiste
Attachment
R
Rafael Roque
10 months ago
please, give me suggestion
t
tecmusti
10 months ago
Maybe s3 configuration (.env) is wrong
B
Baptiste
10 months ago
Yes, provide your
S3_...
env values
B
Baptiste
10 months ago
There must be something wrong here
R
Rafael Roque
10 months ago
@Baptiste @tecmusti These are the environment variables for our S3, using Minio in a separate VM. Another detail is that I did the same test with AWS S3 and the same problem appears
Attachment
R
Rafael Roque
10 months ago
Attachment
t
tecmusti
10 months ago
@Rafael Roque S3_ENDPOINT should contain your region. s3.sa-east-1.amazonaws.com and S3_REGION should be sa-east-1 if your region is sa-east-1
R
Rafael Roque
10 months ago
@tecmusti @Baptiste
Attachment
t
tecmusti
10 months ago
us-east-1 or sa-east-1 ?
E
Edivaldo Victor
10 months ago
sa-east-1
E
Edivaldo Victor
10 months ago
Attachment
R
Rafael Roque
10 months ago
@tecmusti please give me suggestion ?
t
tecmusti
10 months ago
In your console region seems us-east-1 but your configuration sa-east-1
R
Rafael Roque
10 months ago
@tecmusti thanks
t
tecmusti
10 months ago
π
D
Diego Eloy
10 months ago
@tecmusti @Baptiste It worked here. Thank you so much! π
Add a reply
Sign up and join the conversation on Discord
Join on Discord