Skip to content

Failed to determine total size of zarr3 shard using head #705

Description

@dchen116

When trying to access the https://s3proxy.janelia.org/funceworm/embryo/20220426i_Janelia_sampleA_OTO_6x6x6nm.zarr/ dataset with neuroglancer (https://neuroglancer-demo.appspot.com/), the following error is encountered:

Error retrieving chunk [object Object]:33,181,119: Error: Failed to determine total size of https://s3proxy.janelia.org/funceworm/embryo/20220426i_Janelia_sampleA_OTO_6x6x6nm.zarr/c/3/5/1 in order to fetch suffix {"suffixLength":524292}

This error comes from:

`Failed to determine total size of ${store.getUrl(key)} in order to fetch suffix ${JSON.stringify(byteRangeRequest)}`,

This was introduced in #696.

The head response is as follows:

>curl --head https://s3proxy.janelia.org/funceworm/embryo/20220426i_Janelia_sampleA_OTO_6x6x6nm.zarr/c/3/5/1
HTTP/2 200 
server: nginx
date: Wed, 29 Jan 2025 20:16:54 GMT
content-type: application/octet-stream
content-disposition: attachment; filename="1"
x-proxy-cache: MISS
access-control-allow-origin: *
access-control-allow-credentials: true
access-control-allow-methods: GET, HEAD, OPTIONS
access-control-allow-headers: *
access-control-expose-headers: Range, Content-Range

The head response does not contain content-length information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions