Impossible to use OVH object Storage (S3)
Using ZX 3.11.0 on 9.0.0.ZEXTRAS.20210811.UBUNTU18.64 FOSS
OVH provides Object Storage (S3). OVH datacenters are located in France which is very important for us, thus we'd like to store our blobs there.
However, after dozens of tests, I could never suceed to.
Using the official AWS cli, I can access the OVH S3 bucket without any issues (cp, ls, rm, ...)
I tried to configure the bucket in ZX either as S3 or as CustomS3, the result is always the same :
zxsuite core doCreateBucket S3 zimbra-store xxxxxx xxxxxx url s3.gra.perf.cloud.ovh.net zxsuite core doCreateBucket CustomS3 zimbra-store xxxxxx xxxxxx s3.gra.perf.cloud.ovh.net
Doing this, the store doesn't work, I get a very strange error :
java.lang.RuntimeException: com.zextras.lib.vfs.VfsError: Error occurred in underlying filesystem Unable to execute HTTP request: Connect to s3.gra.perf.cloud.ovh.net:80 [s3.gra.perf.cloud.ovh.net/184.108.40.206] failed: Connection refused
I'm surprised to see a port 80 here, since the service is supposed to be https :
bucketName zimbra-store protocol HTTPS storeType CUSTOM_S3 accessKey xxxxxx uuid 6631bca3-9b72-418a-8e76-042724a356d9 url s3.gra.perf.cloud.ovh.net
So I tried to provide the port :
zxsuite core doCreateBucket S3 zimbra-store xxxxxx xxxxxx url s3.gra.perf.cloud.ovh.net:443 zxsuite core doCreateBucket CustomS3 zimbra-store xxxxxx xxxxxx s3.gra.perf.cloud.ovh.net:443
But doing this, the error message is worse :
java.lang.RuntimeException: com.zextras.lib.vfs.VfsError: Error occurred in underlying filesystem Unable to execute HTTP request: The target server failed to respond
Since the AWS cli works with my OVH bucket, I understand the OVH S3 is quite well compatible. So I suppose something in Zextras is restrictive, but I don't understand what...