Connection reset by peer when using s3, boto, django-storage for static files

前端 未结 4 913
逝去的感伤
逝去的感伤 2021-02-18 13:36

I\'m trying to switch to use amazon s3 to host our static files for our django project. I am using django, boto, django-storage and django-compressor. When I run collect static

4条回答
  •  日久生厌
    2021-02-18 13:50

    This is issue someties occurs when you create a new bucket the first time, you have to wait for some hours or mins before you start uploading. I don't know why s3 behave like that. To prove that try creating a new bucket, point your django storage to it and u will see it show connection peer reset when u try to upload any thing from your django project, but wait for couple of hour or min try again it will work. Repeat the same step and see.

提交回复
热议问题