Skip to content

snapshotter example fails with a protocol error #52

Closed
@mythi

Description

@mythi

With ctr i pull --snapshotter custom docker.io/library/hello-world:latest given by the README, the snapshotter server returns a protocol error:

...
unpacking linux/amd64 sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a...
ctr: failed to prepare extraction snapshot "extract-947546364-RurZ sha256:e07ee1baac5fae6a26f30cabfe54a36d3402f96afda318fe0a96cec4ca393359": stream terminated by RST_STREAM with error code: PROTOCOL_ERROR: unknown

A snippet from the snapshotter logs:

...
DEBUG [h2::codec::framed_read] received frame=Headers { stream_id: StreamId(1), flags: (0x4: END_HEADERS) }
TRACE [tracing::span::active] <- FramedRead::poll_next
TRACE [tracing::span] -- FramedRead::poll_next
TRACE [h2::proto::connection] recv HEADERS frame=Headers { stream_id: StreamId(1), flags: (0x4: END_HEADERS) }
TRACE [h2::proto::streams::flow_control] inc_window; sz=1048576; old=0; new=1048576
TRACE [h2::proto::streams::flow_control] inc_window; sz=65535; old=0; new=65535
TRACE [h2::proto::streams::streams] recv_headers; stream=StreamId(1); state=State { inner: Idle }
TRACE [h2::proto::streams::recv] opening stream; init_window=1048576
DEBUG [h2::server] malformed headers: malformed authority (b"unix:///tmp/snap2.sock"): invalid uri character
TRACE [h2::proto::streams::send] send_reset(..., reason=PROTOCOL_ERROR, initiator=Library, stream=StreamId(1), ..., is_reset=false; is_closed=false; pending_send.is_empty=true; state=State { inner: Open { local: 
AwaitingHeaders, remote: Streaming } } 
TRACE [h2::proto::streams::prioritize] clear_queue; stream.id=StreamId(1)
TRACE [tracing::span::active] -> clear_queue
TRACE [tracing::span::active] <- clear_queue
TRACE [tracing::span] -- clear_queue
...

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