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: Sat, 18 Apr 2026 16:18:33 GMT
Content-Type: application/xml
Content-Length: 362837
Connection: keep-alive
Server: cloudflare
CF-RAY: 9ee4fc6e0f9623f2-DFW
<?xml version="1.0" encoding="UTF-8"?><ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Name>speedy</Name><Contents><Key>imagenes/.JPEG</Key><Size>0</Size><LastModified>2026-03-30T19:33:48.553Z</LastModified><Owner><ID>59dacfc6bd799d5c0a9f77e5be29ea44</ID><DisplayName>59dacfc6bd799d5c0a9f77e5be29e
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
20260418T161833Z
20260418/auto/s3/aws4_request
745ab3c9da82ac7e5f4f010d68863e135d16e7a00314e86b31a2b3c25e3460c5</StringToSign><StringToSignBytes>41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 0a 32 30 32 36 30 34 31 38 54 31 36 31 38 33 33 5a 0a 32 30 32 36 30 34 31 38 2f 61 75 74 6f 2f 73 33 2f 61 77 73 34 5f 72 65 71 75 65 73 74 0a 37 34 35 61 62 33 63 39 64 61 38 32 61 63 37 65 35 66 34 66 30 31 30 64 36 38 38 36 33 65 31 33 35 64 31 36 65 37 61 30 30 33 31 34 65 38 36 62 33 31 61 32 62 33 63 32 35 65 33 34 36 30 63 35</StringToSignBytes><CanonicalRequest>GET
/
host:59dacfc6bd799d5c0a9f77e5be29ea44.r2.cloudflarestorage.com
x-amz-content-sha256:UNSIGNED-PAYLOAD
x-amz-date:20260418T161833Z
host;x-amz-content-sha256;x-amz-date
UNSI