Skip to content

Getting error: The MAC signature found in the HTTP request is not the same as any computed signature #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rawbeans opened this issue Jun 12, 2015 · 3 comments

Comments

@rawbeans
Copy link

When I try to run collectstatic, I get an authentication error: The MAC signature found in the HTTP request is not the same as any computed signature.

I have outlined the problem here on stackoverflow.

Any idea about what is going wrong?

@kevin-brown
Copy link
Contributor

I recently ran into this issue when using the --clear command alongside collectstatic, but I wasn't able to determine why that happened.

This error is common when the system time is off (such that the signature doesn't match) or if the storage keys are incorrect. I would recommend confirming both of those, it's pretty easy to accidentally put an extra character in the storage keys.

@rawbeans
Copy link
Author

Both of these appear to be ok. As you can see from this gist of the request/response, the system times are the same.

I have double checked the storage key, and have tried both the primary and secondary keys.

Any ideas of further debugging I can do to look into this?

Do my request/response headers look normal?

@rawbeans
Copy link
Author

I was using the setting DEFAULT_FILE_STORAGE instead of STATICFILES_STORAGE. Changing this fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants