The tab of an S3 session is a console. It prints the endpoint
(S3 at https://<host>:<port> (addressing …, region …)), the DNS answer and a TCP connect,
where the credentials come from, then the first request: GET /<bucket>?list-type=2&max-keys=1
for a start bucket, otherwise the bucket list (GET /). Fields:
S3 sessions.
The code and message are the server’s; the cause in brackets is KryoDesk’s note for that code.
Code
Note printed
What to check
SignatureDoesNotMatch
the secret key does not match the access key ID (or a proxy changed the request)
The secret key. A saved key that fails: The secret key saved in Keychain was rejected; it stays there until you save a new one., then up to 3 typed keys.
InvalidAccessKeyId
the server does not know this access key ID
The key ID, and that the endpoint is the provider that issued it.
RequestTimeTooSkewed
this computer’s clock differs from the server’s by more than 15 minutes
date -u on this Mac; System Settings → General → Date & Time → Set time and date automatically.
AccessDenied, Forbidden
the key’s policy (IAM, bucket policy, ACL or Block Public Access) does not allow this request
The policy of the key and the bucket. When listing buckets is denied and no start bucket is set, the connection stays open: type /bucket-name in the Files window’s path field.
the bucket is in another region than the request was signed for
Region in the session (empty = us-east-1; on AWS the region of each bucket is then found from its replies). Console command region <bucket> prints the bucket’s region.
NoSuchBucket
the bucket does not exist on this endpoint
The bucket name and the endpoint.
NotImplemented, MethodNotAllowed
the server does not support this request (S3-compatible servers implement a subset of S3)
As for FTP: name, port, firewall. With virtual-hosted addressing the bucket name becomes part of the host name (<bucket>.<host>); a provider without wildcard DNS needs Addressing = Path-style.
GET: connection failed: …, GET: timeout: …
The HTTP request after the TCP check failed; the system error follows.
The certificate of <host> is not trusted by macOS (self-signed, expired, another host name or an unknown CA). (Windows: not trusted by Windows) then Trust this certificate for <host:port> (pin its SHA-256)? [y/N]
The certificate does not pass the macOS trust check: openssl s_client -connect <host>:443 -servername <host> </dev/null. Compare the SHA-256 shown with the server’s own (openssl x509 -noout -fingerprint -sha256 -in <certificate>); y pins it in s3_known_hosts.json.
TLS: CERTIFICATE CHANGED for <host:port>: pinned …, now …
The server sends another certificate than the pinned one: a renewed certificate or someone between you and the server. A pin is checked before the macOS trust, so this also appears for a certificate macOS trusts; y replaces the pin, removing the entry from s3_known_hosts.json returns the host to the macOS check.
certificate SHA-256 … does not match the pinned …
With virtual-hosted addressing <bucket>.<host> sent another certificate than <host>; use Addressing = Path-style.
…; retrying in N ms (attempt 2 of 4).
A transient failure (5xx, SlowDown, a broken connection) of a request that can be repeated. Changes from the Permissions dialog are never repeated automatically.
Clock: server … UTC, this computer … UTC, difference +N s. Signing with the server's time …
RequestTimeTooSkewed over HTTPS with a difference up to 24 h: requests are signed with the server’s time from then on; set this computer’s clock.
Clock: … difference +N s. Not signing with the server's time: …
The difference is over 24 h, or the connection is plain HTTP (the server’s time is not authenticated there). The request fails and is not resent; set this computer’s clock.
Plain HTTP: requests, file contents and session tokens travel unencrypted (the secret key itself is never sent).