boto.exception.S3ResponseError: S3ResponseError: 403 Forbidden

后端 未结 9 1192
感情败类
感情败类 2020-11-29 19:13

I\'m trying to get django to upload static files to S3, but istead I\'m getting a 403 forbidden error, and I\'m not sure why.

Full Stacktrace:

9条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-29 19:42

    I had the same problem and finally discovered that the real problem was the SERVER TIME. It was misconfigured and AWS responds with a 403 FORBIDDEN.

    Using Debian you can autoconfigure using NTP:

    ntpdate 0.pool.ntp.org

提交回复
热议问题