Then make a config for rclone
giving this :
[ibm]
type = s3
provider = IBMCOS
env_auth = false
access_key_id = xxxxxxx
secret_access_key = yyyyyyy
endpoint = https://control.cloud-object-storage.cloud.ibm.com/v2/endpoints
location_constraint =
acl = private
Authentication seems to be ok:
rclone lsd ibm: -vv
2021/01/25 11:32:27 DEBUG : rclone: Version "v1.53.4" starting with parameters ["rclone" "lsd" "ibm:" "-vv"]
2021/01/25 11:32:27 DEBUG : Using config file from "/home/airvb/.config/rclone/rclone.conf"
2021/01/25 11:32:27 DEBUG : Creating backend with remote "ibm:"
2021/01/25 11:32:27 DEBUG : 3 go routines active
Trying to create a bucket :
rclone mkdir ibm:testbucket -vv
2021/01/25 11:36:30 DEBUG : rclone: Version "v1.53.4" starting with parameters ["rclone" "mkdir" "ibm:testbucket" "-vv"]
2021/01/25 11:36:30 DEBUG : Creating backend with remote "ibm:testbucket"
2021/01/25 11:36:30 DEBUG : Using config file from "/home/airvb/.config/rclone/rclone.conf"
2021/01/25 11:36:30 DEBUG : S3 bucket testbucket: Making directory
2021/01/25 11:36:30 ERROR : Attempt 1/3 failed with 1 errors and: SerializationError: failed to unmarshal error message
status code: 404, request id: , host id:
caused by: UnmarshalError: failed to unmarshal error message
00000000 3c 21 44 4f 43 54 59 50 45 20 68 74 6d 6c 3e 0a |.|
00000010 3c 68 74 6d 6c 20 6c 61 6e 67 3d 22 65 6e 22 3e ||
00000020 0a 3c 68 65 61 64 3e 0a 3c 6d 65 74 61 20 63 68 |..<meta ch|
00000030 61 72 73 65 74 3d 22 75 74 66 2d 38 22 3e 0a 3c |arset="utf-8">.<|
00000040 74 69 74 6c 65 3e 45 72 72 6f 72 3c 2f 74 69 74 |title>Error</tit|
00000050 6c 65 3e 0a 3c 2f 68 65 61 64 3e 0a 3c 62 6f 64 |le>..<bod|
00000060 79 3e 0a 3c 70 72 65 3e 43 61 6e 6e 6f 74 20 50 |y>.
Cannot P|
00000070 55 54 20 2f 76 32 2f 65 6e 64 70 6f 69 6e 74 73 |UT /v2/endpoints|
00000080 2f 74 65 73 74 62 75 63 6b 65 74 3c 2f 70 72 65 |/testbucket</pre|
00000090 3e 0a 3c 2f 62 6f 64 79 3e 0a 3c 2f 68 74 6d 6c |>..</html|
000000a0 3e 0a |>.|
caused by: expected element type but have
rclone ls ibm:rclone-cos-standard-kqy -vv
2021/01/25 12:13:00 DEBUG : rclone: Version "v1.53.4" starting with parameters ["rclone" "ls" "ibm:rclone-cos-standard-kqy" "-vv"]
2021/01/25 12:13:00 DEBUG : Using config file from "/home/airvb/.config/rclone/rclone.conf"
2021/01/25 12:13:00 DEBUG : Creating backend with remote "ibm:rclone-cos-standard-kqy"
2021/01/25 12:13:00 DEBUG : 3 go routines active
2021/01/25 12:13:00 Failed to ls: directory not found
Thanks for yr reply
I try with s3.eu-de.cloud-object-storage.appdomain.cloud
`rclone ls ibm:rclone-cos-standard-kqy -vv
2021/01/25 13:29:57 DEBUG : rclone: Version "v1.53.4" starting with parameters ["rclone" "ls" "ibm:rclone-cos-standard-kqy" "-vv"]
2021/01/25 13:29:57 DEBUG : Using config file from "/home/airvb/.config/rclone/rclone.conf"
2021/01/25 13:29:57 DEBUG : Creating backend with remote "ibm:rclone-cos-standard-kqy"
2021/01/25 13:29:58 DEBUG : 4 go routines active
2021/01/25 13:29:58 Failed to ls: InvalidAccessKeyId: The AWS Access Key ID you provided does not exist in our records.
status code: 403, request id: a12a9e65-f9fa-43bb-ac71-5e6e61d9fa43, host id:
then with s3.private.eu-de.cloud-object-storage.appdomain.cloud
rclone ls ibm:rclone-cos-standard-kqy -vv
2021/01/25 13:31:51 DEBUG : rclone: Version "v1.53.4" starting with parameters ["rclone" "ls" "ibm:rclone-cos-standard-kqy" "-vv"]
2021/01/25 13:31:51 DEBUG : Using config file from "/home/airvb/.config/rclone/rclone.conf"
2021/01/25 13:31:51 DEBUG : Creating backend with remote "ibm:rclone-cos-standard-kqy"
2021/01/25 13:32:51 DEBUG : pacer: low level retry 1/10 (error RequestError: send request failed
caused by: Get "https://s3.private.eu-de.cloud-object-storage.appdomain.cloud/rclone-cos-standard-kqy?delimiter=&max-keys=1000&prefix=": dial tcp 10.1.129.58:443: i/o timeout)
2021/01/25 13:32:51 DEBUG : pacer: Rate limited, increasing sleep to 10ms
But nothing else append....
Another try with : s3.direct.eu-de.cloud-object-storage.appdomain.cloud
rclone ls ibm:rclone-cos-standard-kqy -vv
2021/01/25 13:34:06 DEBUG : rclone: Version "v1.53.4" starting with parameters ["rclone" "ls" "ibm:rclone-cos-standard-kqy" "-vv"]
2021/01/25 13:34:06 DEBUG : Using config file from "/home/airvb/.config/rclone/rclone.conf"
2021/01/25 13:34:06 DEBUG : Creating backend with remote "ibm:rclone-cos-standard-kqy"
I explained in my first message the method I used to retrieve the key and the secret.
But having not found much information on the ibm website, I am not sure of my method!
I tried to recreate another key with the same result ...