简体   繁体   中英

SignatureDoesNotMatch - Amazon s3 can't upload image

Error:

Excon::Error::NotFound (Expected(200) <=> Actual(404 Not Found)

The request signature we calculated does not match the signature you provided. Check your key and signing method.

I have developed uploading images via carrierwave via s3. But this error happens and aws access id and secret key are not wrong. And s3 settings is currently in public.

Development: Heroku Rails

The region setting was wrong. After I update, that would work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM