Skip to content

Latest commit

 

History

History
71 lines (36 loc) · 4.56 KB

errors.md

File metadata and controls

71 lines (36 loc) · 4.56 KB

Errors and log messages

Messages as they appear in the server log, what they mean, and the task page that resolves them. Provider messages can differ slightly in wording between providers.

SignatureDoesNotMatch

The provider could not verify the request signature, or answered 403. Usual causes: a wrong or mistyped access key id or secret, extra quotes or trailing whitespace around a value, or a wrong account-id (it must be the 32-character hexadecimal account ID, not a bucket name or zone ID).

Resolve with: Verify credentials with the AWS CLI.

SignatureDoesNotMatch on GetObject with Cloudflare R2

Seen on versions up to 1.6.0 with the r2 profile, even with correct credentials: every read, list and delete fails with 403 while uploads work. The cause is the CRT S3 client, which signs Content-Length: 0 on body-less requests; R2 does not accept that signature. Fixed in the next release, which uses the standard client for R2. See How provider profiles work.

AccessDenied

The credentials were accepted, but are not allowed to perform the operation. Usual causes: a read-only token, or a token scoped to a different bucket.

Resolve with: Verify credentials with the AWS CLI.

InvalidRegionName

The endpoint did not accept the configured region. For Cloudflare R2 the addon sets the region itself; for other providers region must be a value the provider knows.

See: Provider detection, Connect to other S3-compatible providers.

400 Bad Request

Logged for example as PutObject => 400, with tile saves failing. Usual cause on non-AWS providers: a request that carries a checksum the provider does not accept.

Resolve with: Fix 400 Bad Request on non-AWS providers.

A header you provided implies functionality that is not implemented

Also seen as STREAMING-UNSIGNED-PAYLOAD-TRAILER not implemented or not implemented for an x-amz-checksum-* header. The provider rejects the checksum trailer or header of a when_supported request.

Resolve with: Fix 400 Bad Request on non-AWS providers. Background: Why checksum validation exists.

Connection refused (localhost:9000)

The addon connected to http://localhost:9000, which is the built-in default of endpoint-url. Cause: no endpoint-url was set, and no account-id selected the R2 profile, so the default endpoint was used.

Resolve with: set endpoint-url (or account-id for R2) as in Connect to MinIO, Connect to AWS S3 or Put your map on Cloudflare R2.

Provider 'r2' needs either 'account-id' or an 'endpoint-url' ending in .r2.cloudflarestorage.com

provider: "r2" is set, but neither account-id nor an R2 endpoint-url is. BlueMap reports it as a configuration error.

Resolve with: Put your map on Cloudflare R2 or Use an EU-jurisdiction R2 bucket. See Provider detection.

Cloudflare R2 needs a real '' (create an R2 API token); it is missing or still the built-in placeholder

<key> is access-key-id or secret-access-key. The value is blank or still the built-in default.

Resolve with: Put your map on Cloudflare R2 (step 2 creates the token).

Unknown provider '...', expected one of: r2, generic

The provider key holds a value that is not a profile id. See Provider detection.

S3 bucket name is required / AWS region is required

A required key is empty. AWS region is required does not apply to the r2 profile, which maps a blank region to auto. See the Configuration reference.

Set both access-key-id and secret-access-key, or leave both empty to use the default AWS credential chain

Only one of access-key-id and secret-access-key is set. Set both, or leave both empty to use the default AWS credential chain. See the Configuration reference.

Failed to build S3 FileSystem

Wrapper message. The reason is in the Caused by: lines below it. See Collect logs for a support request.