-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
J'essaie de changer les permissions du AWS S3 bucket my-new-bucket-tom pour rendre toutes les images qu'il contient visible sur internet
- depuis l'interface graphique S3 Bucket, j'ai cette erreur:
Cette erreur dans le fichier Event Log:
[I] [2025-06-20 12:26:50] Updating permissions for my-new-bucket-tom/img/ppa_kripley.png TaskID: 235
[I] [2025-06-20 12:26:50] InvalidArgument: Invalid group uri TaskID: 235
[W] [2025-06-20 12:26:51] Task failed (InvalidArgument: Invalid group uri) TaskID: 235
- depuis AWS CLI
PS > ./aws s3api put-bucket-policy --bucket my-new-bucket-tom --policy C:\Users\TH282424\Rprojects\iramat-dev\credentials\aws_credentials.json --endpoint-url http://rgw-covado.mesocentre.universite-paris-saclay.fr:8080Avec aws_credentials.json :
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicRead",
"Effect": "Allow",
"Principal": "*",
"Action": ["s3:GetObject"],
"Resource": "arn:aws:s3:::my-new-bucket-tom/*"
}
]
}Cette erreur
Connection was closed before we received a valid response from endpoint URL: "http://rgw-covado.mesocentre.universite-paris-saclay.fr:8080/my-new-bucket-tom?policy".
On note que c'est la même chose quand on veut juste toucher le endpoint http://rgw-covado.mesocentre.universite-paris-saclay.fr:8080 :
PS > ./aws s3 ls --endpoint-url http://rgw-covado.mesocentre.universite-paris-saclay.fr:8080
Connection was closed before we received a valid response from endpoint URL: "http://rgw-covado.mesocentre.universite-paris-saclay.fr:8080/".