django-compressor, heroku, s3: Request has expired django-compressor, heroku, s3: Request has expired heroku heroku

django-compressor, heroku, s3: Request has expired


Give this a try:

AWS_QUERYSTRING_EXPIRE = 63115200

The value being number of seconds from the time the links are generated.


Just in case somebody has this same issue:

AWS_QUERYSTRING_AUTH = False

This removes any of the expiry, etc. The expiration is not always needed based on use case (as in mine and many others). This will allow you to remove any expiry.