Skip to content

Google Cloud Storage error on unconfigured region #3613

@tylerkovacs

Description

@tylerkovacs

I have followed the steps to configure GCS storage:
https://quickwit.io/docs/guides/storage-setup/gcs-setup

However, when the indexer attempts writes to GCS, it returns the following error:

2023-07-06T19:07:40.971Z  WARN index-doc-batches{index_id=redacted source_id=_ingest-api-source pipeline_ord=0 workbench_id=01H4P9MBAHWYH30G8PWPHPAE4B}:uploader: quickwit_indexing::actors::uploader: Failed to upload split. Killing! cause=Failed uploading key 01H4P9MBB0CH9DGCD3X0N3DYG3.split in bucket s3://redacted/quickwit/production/indexes/redacted
Caused by:
    0: StorageError(kind=InternalError, source=failed to construct request: A region must be set when sending requests to S3. (ConstructionFailure(ConstructionFailure { source: ResolveEndpointError { message: "A region must be set when sending requests to S3.", source: None } })))
    1: failed to construct request: A region must be set when sending requests to S3. (ConstructionFailure(ConstructionFailure { source: ResolveEndpointError { message: "A region must be set when sending requests to S3.", source: None } })) split_id="01H4P9MBB0CH9DGCD3X0N3DYG3"

I was able to resolve this issue by setting the AWS region via the AWS_REGION environment variable. Please update the GCS setup docs to include region configuration if it is truly required.

Thank you, quickwit is very interesting and I'm eager to evaluate it further.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions