Skip to content

Lakekeeper table preview tab is broken within our setup #329

@martyngigg

Description

@martyngigg

In Lakekeeper, clicking the "Preview" tab from the table overview page gives an error:

**Failed to load preview**

CORS Error: Cannot access object storage from the browser. DuckDB tried to read Iceberg metadata files from object storage (S3/ADLS/GCS) but the request was blocked by CORS policy. The object storage bucket needs CORS configuration to allow: 1. Cross-origin requests from https://analytics.isis.cclrc.ac.uk 2. Required headers: authorization, content-type, range, x-user-agent 3. HTTP methods: GET, HEAD, OPTIONS 4. Expose headers: content-range, content-length, etag Example S3 CORS configuration: [ { "AllowedOrigins": ["https://analytics.isis.cclrc.ac.uk"], "AllowedMethods": ["GET", "HEAD"], "AllowedHeaders": ["*"], "ExposeHeaders": ["ETag", "Content-Length", "Content-Range"], "MaxAgeSeconds": 3000 } ] Check your browser console for the blocked URL. Please contact your administrator to configure CORS on your S3 bucket.

See https://docs.lakekeeper.io/docs/0.11.x/storage/?h=cors#cors-configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions