Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Substrate sometimes sends back an empty response to light client requests #12727

@tomaka

Description

@tomaka

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

cc paritytech/smoldot#2975

I don't know under which condition (I don't know if it's a new version or if the node is overwhelmed or something), but Substrate sometimes sends back an empty response to light client requests. By "empty response" I mean that it sends back a 0 byte indicating that the response is empty, then closes the substream as if the response had finished being sent back.

It's really not supposed to do that. In case where the node is overwhelmed, Substrate is supposed to close the substream without sending any response at all without even any length (as otherwise sending back an empty response would be problem in case the response is legitimately empty).

Steps to reproduce

I don't know, unfortunately

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done ✅

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions