Diagnóstico de Cloudflare R2
Verificando credenciales:
Account ID: 59dacfc6bd...ea44 (longitud: 32)
Access Key: 2ca7b68780...b2ee (longitud: 32)
Secret Key: 93083a07af...15cb (longitud: 64)
Bucket: speedy
Verificando extensiones PHP:
cURL: ✅ Habilitado
OpenSSL: ✅ Habilitado
Endpoint construido:
URL: https://59dacfc6bd799d5c0a9f77e5be29ea44.r2.cloudflarestorage.com/speedy/
Prueba 1: Verificando conectividad básica
HTTP Code: 400
✅ Conexión establecida
Prueba 2: Probando autenticación AWS Signature V4
HTTP Code: 200
✅ AUTENTICACIÓN EXITOSA!
Respuesta:
HTTP/1.1 200 OK
Date: Sun, 04 Oct 2026 09:56:54 GMT
Content-Type: application/xml
Content-Length: 362244
Connection: keep-alive
Server: cloudflare
CF-RAY: a45351babdce4c8e-DFW
<?xml version="1.0" encoding="UTF-8"?><ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>speedy</Name><Contents><Key>imagenes/.DS_Store</Key><Size>6148</Size><LastModified>2026-09-26T02:14:13.261Z</LastModified><Owner><ID>59dacfc6bd799d5c0a9f77e5be29ea44</ID><DisplayName>59dacfc6bd799d5c0a9f77
Prueba 3: Intentando listar buckets
HTTP Code: 403
Respuesta:
<?xml version="1.0" encoding="UTF-8"?><Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your secret access key and signing method.</Message><StringToSign>AWS4-HMAC-SHA256
20261004T095654Z
20261004/auto/s3/aws4_request
586a5e39b0d28925327aab08b9499042351c13a013971cbb3c066703fa364f68</StringToSign><StringToSignBytes>41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 0a 32 30 32 36 31 30 30 34 54 30 39 35 36 35 34 5a 0a 32 30 32 36 31 30 30 34 2f 61 75 74 6f 2f 73 33 2f 61 77 73 34 5f 72 65 71 75 65 73 74 0a 35 38 36 61 35 65 33 39 62 30 64 32 38 39 32 35 33 32 37 61 61 62 30 38 62 39 34 39 39 30 34 32 33 35 31 63 31 33 61 30 31 33 39 37 31 63 62 62 33 63 30 36 36 37 30 33 66 61 33 36 34 66 36 38</StringToSignBytes><CanonicalRequest>GET
/
host:59dacfc6bd799d5c0a9f77e5be29ea44.r2.cloudflarestorage.com
x-amz-content-sha256:UNSIGNED-PAYLOAD
x-amz-date:20261004T095654Z
host;x-amz-content-sha256;x-amz-date
UNSI