The issue is related to S3 bucket CORS. I randomly receive the following error in the browser's console (sometimes, mostly not) :
"No 'Access-Control-Allow-Origin' header is present on the requested resource"
I have checked that CORS is well enabled via aws cli :
$ aws s3api get-bucket-cors --endpoint-url "http://s3-api.us-geo.objectstorage.softlayer.net" --bucket bucket_name
{
"CORSRules": [
{
"AllowedHeaders": [
"authorization"
],
"MaxAgeSeconds": 3000,
"AllowedMethods": [
"GET"
],
"AllowedOrigins": [
"*"
]
}
]
}
I wonder if the problem is related to some misconfiguration with IBM Cloud API.
EDIT : My Object Storage instance is provisioned as IaaS which use access and secret key pairs.
PS: I've already opened a ticket in IBM cloud and they asked to redirect my request to stackoverflow.