Swift backend doesn't work


#1

hi , i need same help :slight_smile:
i have integrated swift OPENSTACK as backend storage to the seafile, i have configured the seafile.conf file and i have restarted the services but the seafile GUI did not work, here is the result of the seafile.log file

[05/14/2018 05:45:42 PM] …/common/obj-backend-s3.c(348): Put object 12887960426c4f16f118e3cccdd2bcb913bd2308 error 403. Response:
< ?xml version=‘1.0’ encoding=‘UTF-8’? >
< Error > < Code > SignatureDoesNotMatch< /Code > < Message >The request signature we calculated does not match the signature you provided. Check your key and signing method.< /Message > < RequestId > tx745d154f80fe49f58c6c5-005afa2dae< /RequestId > < /Error >
[05/14/2018 05:45:42 PM] repo-mgr.c(5890): Failed to add commit.
[05/14/2018 05:45:42 PM] seafile-session.c(502): Failed to create system default repo


#2

That error (SignatureDoesNotMatch… blah blah) is generated by the S3 backend.

Here is Amazon’s troubleshooting page. You may try finding your specific problem in it and try what they suggest.

https://docs.aws.amazon.com/general/latest/gr/signature-v4-troubleshooting.html


#3

You can also try searching for the thread below on stackoverflow. In that thread, several people had the same problem and discussed what they did to fix it. There were varying solutions.

How to fix ‘The request signature we calculated does not match the signature’ error?