PermissionError: The request signature we calculated does not match the signature you provided. Check your key and signing method.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 305
- Avg merge
- 22h 37m
- Merged PRs (30d)
- 4
Description
Hello,
I'm trying s3fs with Synology C2 storage (it seems to be an inexpensive S3 like storage)
https://c2.synology.com/
https://c2.synology.com/en-global/object-storage/overview
They say "Compatible with Amazon S3 API / Use your existing tools and code as our API is S3-compatible."
See https://kb.synology.com/en-global/C2/tutorial/C2_Object_Storage_Compatible_API
I'm doing
In [1]: import s3fs
In [2]: url="https://eu-002.s3.synologyc2.net"
In [3]: key="MyKey"
In [4]: secret="MySecret"
In [5]: s3 = s3fs.core.S3FileSystem(endpoint_url=url, key=key, secret=secret)
In [6]: s3.ls("my-bucket")
but it raises
PermissionError: The request signature we calculated does not match the signature you provided. Check your key and signing method.
I haven't find any other issue https://github.com/fsspec/s3fs/issues?q=is%3Aissue+permissionerror+signature
Any idea what's wrong ?
Kind regards
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Python example with s3fs.core.S3FileSystem, the Synology C2 endpoint_url, and s3.ls("my-bucket"). Investigate how this endpoint is signed and determine whether the request can be made compatible with Synology C2; done means the example lists the bucket successfully or the required limitation and configuration are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100