hi all, im sure it's something pretty
hi all, im sure it's something pretty simple, but has anyone been able to get a valid
generateUploadUrl
in order to upload? i've followed the docs/demo and the url that comes back is this: http://convex-<subdomains>/api/storage/upload?token=<token>
-- however anytime i try to use it i get a 404 not found. even testing with curl it goes to /404. am i missing something? this is the dashboard url. i also have a backend at http://backend-<subdomains>
8 Replies
i am not using SSL at the moment just for testing, and post dashboard/backend is accessible publicly
these are my variables on the server:
@nipunn question maybe you know the answer to, re: storage upload urls and self-hosted
That’s the right url! Make sure you’re doing a POST
If it’s still not working, send over more details about exactly what you did
hm weird. i just noticed i can't upload via the dashboard using Files feature either. i'll have to dig

is s3 required if i wanted to use storage? or does file disk work out of the box?
https://discord.com/channels/1019350475847499849/1352783904603508887/1352803989900759153 hmmm answered my own question. still 404 is weird. gonna try starting over
i started over and still ran into 404 issue. this is the docker-compose im using for Coolify:
huh. i didnt realize it was pulling a specific commit... will try with latest...
still the same issue on :latest 😦
The CONVEX_CLOUD_ORIGIN (and CONVEX_SITE_ORIGIN) should use the backend url, not the dashboard url
port 6791 is the dashboard, 3210 is the backend
oooh! i also noticed they don't even expose 3211. :TY: here i thought i was doing something wrong. i will open an issue w/ Coolify to fix their template
i was able to get things working with CONVEX_SITE_ORIGIN:3211 🙂
edit: 3211 is not required. this worked with just 2 containers (backend & dashboard) and 3210