Self Hosting Minio error

Hi I have a problem with minio and typebot, when I try to upload a file the process will be stuck I have precise the public URL for s3 When I upload a file I have the route /api/v3/generate-upload-url seam work well
{
"presignedUrl": "http://minio:9000/typebot",
"formData": {
"key": "public/tmp/typebots/cm893zww30001b9nwpu0pswm5/blocks/t6m9gx1hvbi5ktb0iwpidmm6/48a8d04a2520b3c72c4e3e44397cb144b5e5660e8ad8e8809b1177087318ff3a-_4_.mp3",
"bucket": "typebot",
"Cache-Control": "public, max-age=86400",
"Content-Type": "audio/mpeg",
"x-amz-date": "20250405T092548Z",
"x-amz-algorithm": "AWS4-HMAC-SHA256",
"x-amz-credential": "minio/20250405/us-east-1/s3/aws4_request",
"policy": "eyJjb25kaXRpb25zIjpbWyJlcSIsIiRrZXkiLCJwdWJsaWMvdG1wL3R5cGVib3RzL2NtODkzend3MzAwMDFiOW53cHUwcHN3bTUvYmxvY2tzL3Q2bTlneDFodmJpNWt0YjBpd3BpZG1tNi80OGE4ZDA0YTI1MjBiM2M3MmM0ZTNlNDQzOTdjYjE0NGI1ZTU2NjBlOGFkOGU4ODA5YjExNzcwODczMThmZjNhLV80Xy5tcDMiXSxbImVxIiwiJGJ1Y2tldCIsInR5cGVib3QiXSxbImVxIiwiJENhY2hlLUNvbnRyb2wiLCJwdWJsaWMsIG1heC1hZ2U9ODY0MDAiXSxbImVxIiwiJENvbnRlbnQtVHlwZSIsImF1ZGlvL21wZWciXSxbImVxIiwiJHgtYW16LWRhdGUiLCIyMDI1MDQwNVQwOTI1NDhaIl0sWyJlcSIsIiR4LWFtei1hbGdvcml0aG0iLCJBV1M0LUhNQUMtU0hBMjU2Il0sWyJlcSIsIiR4LWFtei1jcmVkZW50aWFsIiwibWluaW8vMjAyNTA0MDUvdXMtZWFzdC0xL3MzL2F3czRfcmVxdWVzdCJdXSwiZXhwaXJhdGlvbiI6IjIwMjUtMDQtMDVUMDk6MzU6NDguMzEzWiJ9",
"x-amz-signature": "605186381ddc471df509e798bc2be6c0f10c33ee01e8ebb24f7fabc2120f083c"
},
"fileUrl": "https://storagebot.*******/public/tmp/typebots/cm893zww30001b9nwpu0pswm5/blocks/t6m9gx1hvbi5ktb0iwpidmm6/48a8d04a2520b3c72c4e3e44397cb144b5e5660e8ad8e8809b1177087318ff3a-_4_.mp3"
}
{
"presignedUrl": "http://minio:9000/typebot",
"formData": {
"key": "public/tmp/typebots/cm893zww30001b9nwpu0pswm5/blocks/t6m9gx1hvbi5ktb0iwpidmm6/48a8d04a2520b3c72c4e3e44397cb144b5e5660e8ad8e8809b1177087318ff3a-_4_.mp3",
"bucket": "typebot",
"Cache-Control": "public, max-age=86400",
"Content-Type": "audio/mpeg",
"x-amz-date": "20250405T092548Z",
"x-amz-algorithm": "AWS4-HMAC-SHA256",
"x-amz-credential": "minio/20250405/us-east-1/s3/aws4_request",
"policy": "eyJjb25kaXRpb25zIjpbWyJlcSIsIiRrZXkiLCJwdWJsaWMvdG1wL3R5cGVib3RzL2NtODkzend3MzAwMDFiOW53cHUwcHN3bTUvYmxvY2tzL3Q2bTlneDFodmJpNWt0YjBpd3BpZG1tNi80OGE4ZDA0YTI1MjBiM2M3MmM0ZTNlNDQzOTdjYjE0NGI1ZTU2NjBlOGFkOGU4ODA5YjExNzcwODczMThmZjNhLV80Xy5tcDMiXSxbImVxIiwiJGJ1Y2tldCIsInR5cGVib3QiXSxbImVxIiwiJENhY2hlLUNvbnRyb2wiLCJwdWJsaWMsIG1heC1hZ2U9ODY0MDAiXSxbImVxIiwiJENvbnRlbnQtVHlwZSIsImF1ZGlvL21wZWciXSxbImVxIiwiJHgtYW16LWRhdGUiLCIyMDI1MDQwNVQwOTI1NDhaIl0sWyJlcSIsIiR4LWFtei1hbGdvcml0aG0iLCJBV1M0LUhNQUMtU0hBMjU2Il0sWyJlcSIsIiR4LWFtei1jcmVkZW50aWFsIiwibWluaW8vMjAyNTA0MDUvdXMtZWFzdC0xL3MzL2F3czRfcmVxdWVzdCJdXSwiZXhwaXJhdGlvbiI6IjIwMjUtMDQtMDVUMDk6MzU6NDguMzEzWiJ9",
"x-amz-signature": "605186381ddc471df509e798bc2be6c0f10c33ee01e8ebb24f7fabc2120f083c"
},
"fileUrl": "https://storagebot.*******/public/tmp/typebots/cm893zww30001b9nwpu0pswm5/blocks/t6m9gx1hvbi5ktb0iwpidmm6/48a8d04a2520b3c72c4e3e44397cb144b5e5660e8ad8e8809b1177087318ff3a-_4_.mp3"
}
but the input file is lock with rotate circle and I have this error (cf screenshot)
No description
7 Replies
Amaury
AmauryOP2w ago
Configuration Self hosted with portainer and swarm and traefik for reverse proxy docker compose
services:
typebot-db:
...
typebot-builder:
...
typebot-viewer:
image: baptistearno/typebot-viewer:latest
labels:
- "traefik.enable=true"
...
restart: always
depends_on:
- typebot-db
networks:
...
environment:
...
- "S3_ACCESS_KEY=minio"
- "S3_SECRET_KEY=**************************"
- "S3_BUCKET=typebot"
- "S3_ENDPOINT=minio"
- "S3_PORT=9000"
- "S3_SSL=false"
- "S3_PUBLIC_CUSTOM_DOMAIN=https://storage.********************"
- "DEBUG=true"
minio:
hostname: minio
image: minio/minio
command: server /data
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: *********************
volumes:
- s3-data:/data
networks:
- typebot-network
- traefik_traefik-network
labels:
- "traefik.enable=true"
- "traefik.http.routers.typebotstorage.entrypoints=web,websecure"
- "traefik.http.routers.typebotstorage.rule=Host(`storagebot.*****************`)"
- "traefik.http.routers.typebotstorage.tls=true"
- "traefik.http.routers.typebotstorage.tls.certresolver=production"
- "traefik.http.routers.typebotstorage.service=typebotstorage-service"
- "traefik.http.services.typebotstorage-service.loadbalancer.server.port=9000"
# This service just make sure a bucket with the right policies is created
createbuckets:
image: minio/mc
depends_on:
- minio
entrypoint: >
/bin/sh -c "
sleep 10;
/usr/bin/mc config host add minio http://minio:9000 minio minio123;
/usr/bin/mc mb minio/typebot;
/usr/bin/mc anonymous set public minio/typebot/public;
exit 0;
"
networks:
- typebot-network
services:
typebot-db:
...
typebot-builder:
...
typebot-viewer:
image: baptistearno/typebot-viewer:latest
labels:
- "traefik.enable=true"
...
restart: always
depends_on:
- typebot-db
networks:
...
environment:
...
- "S3_ACCESS_KEY=minio"
- "S3_SECRET_KEY=**************************"
- "S3_BUCKET=typebot"
- "S3_ENDPOINT=minio"
- "S3_PORT=9000"
- "S3_SSL=false"
- "S3_PUBLIC_CUSTOM_DOMAIN=https://storage.********************"
- "DEBUG=true"
minio:
hostname: minio
image: minio/minio
command: server /data
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: *********************
volumes:
- s3-data:/data
networks:
- typebot-network
- traefik_traefik-network
labels:
- "traefik.enable=true"
- "traefik.http.routers.typebotstorage.entrypoints=web,websecure"
- "traefik.http.routers.typebotstorage.rule=Host(`storagebot.*****************`)"
- "traefik.http.routers.typebotstorage.tls=true"
- "traefik.http.routers.typebotstorage.tls.certresolver=production"
- "traefik.http.routers.typebotstorage.service=typebotstorage-service"
- "traefik.http.services.typebotstorage-service.loadbalancer.server.port=9000"
# This service just make sure a bucket with the right policies is created
createbuckets:
image: minio/mc
depends_on:
- minio
entrypoint: >
/bin/sh -c "
sleep 10;
/usr/bin/mc config host add minio http://minio:9000 minio minio123;
/usr/bin/mc mb minio/typebot;
/usr/bin/mc anonymous set public minio/typebot/public;
exit 0;
"
networks:
- typebot-network
Baptiste
Baptiste7d ago
Do you think your host machine has access to http://minio:9000? I would guess not! You can't query that URL from the browser
imoclub
imoclub7d ago
i solved this by deploy minio as another service on swarm, reverse proxy on there then just connect the domain to typebot S3_ENDPOINT its better to use minio distributed on swarm so you can scalling too
Amaury
AmauryOP6d ago
Yes I know that but I hope typebot do the translation with information to unlick typebot upload message I will be try with a dedicated minio service ASAP thanks
Baptiste
Baptiste6d ago
Yes the minio URL needs to be accessible from outside otherwise it won't be able to upload the file from the browser
Amaury
AmauryOP2d ago
I solved it with extraction of minio docker and setup a dns local because I have a problem with hairpinning
gbrito
gbrito2d ago
Got a simmilar error: "write EPROTO 80F83734417F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:" Any idea in how to fix it?

Did you find this page helpful?