newhinton / Round-Sync

An android cloud file manager, powered by rclone. Visit https://roundsync.com for more information!
https://roundsync.com
GNU General Public License v3.0
1.29k stars 51 forks source link

Can't upload to an S3 bucket #117

Closed dgudim closed 1 year ago

dgudim commented 1 year ago

What version of extRact are you using (About -> App version)?

2.1.3

What is your Android version, phone model and manufacturer?

Android 13, Samsung A71

Which steps are required to reproduce this issue?

  1. Add an S3 remote with minio
  2. Try uploading a file
  3. The file does not upload

What is your configuration

rclone.conf

[s3_bucket]
type = s3
provider = Minio
access_key_id = redacted
secret_access_key = redacted
endpoint = minio.*.*
acl = private
server_side_encryption = AES256

Logs:

{"level":"error","msg":"Attempt 3/3 failed with 1 errors and: Forbidden: Forbidden\n\tstatus code: 403, request id: 17734DDCA207BF47, host id: dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8","source":"cmd/cmd.go:283","time":"2023-07-19T15:18:15.234018+00:00"}

Does the same issue also occur when using the same configuration on a PC or in Termux?

No, works fine

newhinton commented 1 year ago

How did you set up your remote? Via importing and rclone-file or with the app-provided gui?

dgudim commented 1 year ago

Tried both ways. Gui produces a little different config, but it still doesn't work

newhinton commented 1 year ago

Do both generated configs work on the desktop rclone?

dgudim commented 1 year ago

Yup, the gui generated config just doesn't have

acl = private
server_side_encryption = AES256
newhinton commented 1 year ago

hm this is weird. Which versions of rclone are you using in both the app and the desktop?

dgudim commented 1 year ago

App: 1.61.1-extract Desktop: 1.63.0-1

newhinton commented 1 year ago

Can you check v2.1.4?

dgudim commented 1 year ago

It works now!