bradleyg / django-s3direct

Directly upload files to S3 compatible services with Django.
MIT License
653 stars 234 forks source link

black progress bar when uploading image #180

Closed Iv4nnn closed 5 years ago

Iv4nnn commented 5 years ago

When uploading a file there are no errors in browser console and the django server logs look like this HTTP POST /s3direct/get_upload_params/ 200 [0.19, 127.0.0.1:60400] HTTP POST /s3direct/get_upload_params/ 200 [0.19, 127.0.0.1:60446] HTTP POST /s3direct/get_aws_v4_signature/ 200 [0.09, 127.0.0.1:60400] HTTP POST /s3direct/get_aws_v4_signature/ 200 [0.09, 127.0.0.1:60446] . s3direct keeps returning 200 status logs in the console

I am using django 2.0.7

dsal1951 commented 5 years ago

+1

bradleyg commented 5 years ago

Hey, thanks for the report. Does the file actually upload?

ekwhoa commented 5 years ago

Having the same issue here, with the file not uploading

EDIT If anyone comes across this same issue, I was able to resolve it by editing the "Block public access (bucket settings)" on my s3 bucket.

2nd EDIT Additional troubleshooting if you're seeing this problem: I ran into a similar issue where this happened again, this time it was with my CORS configuration. Resolved by modifying my AllowedOrigin from http to https.

bradleyg commented 5 years ago

Seems like this is related to bucket config.

pushpankar commented 4 years ago

I made the bucket public + I added the configs as mentioned in doc. But I am still getting the log.

JMIdeaMaker commented 1 year ago

No solutions to this issue in 3 years?