bradleyg / django-s3direct

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

Upload in admin returning 404 not found error using Django==2.2.4 #195

Open ghost opened 5 years ago

ghost commented 5 years ago

Tried to run the example, got this error:

[06/Sep/2019 10:09:55] "POST /admin/cat/cat/add/s3.us-west-2.amazonaws.com/mybucket/custom/7daf23ca3e764e03952b1b45def438cd.png?uploads HTTP/1.1" 404 5945 [06/Sep/2019 10:09:55] "POST /s3direct/get_aws_v4_signature/ HTTP/1.1" 200 80 Not Found: /admin/cat/cat/add/s3.us-west-2.amazonaws.com/mybucket/custom/7daf23ca3e764e03952b1b45def438cd.png

orkhanbd commented 5 years ago

Same here

orkhanbd commented 5 years ago

Resolved it. Make you have added "https" to the endpoint prefix. It's supposed to send the post upload request to aws.