Skip to content

grpc: received message larger than max #285

@zaur

Description

@zaur

Recently we started getting enormous amounts of connection errors, and hence prolonged timeouts on blockchain transactions.

We have added some extra logging after this line of code:

if l.systemService != nil {

and this is what we've got:
level=warning msg="Unable to connect to chain, pausing system" function=Listener.Start.goroutine package=chain_events
level=warning msg="client: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (4296233 vs. 4194304)" function=Listener.Start.goroutine package=chain_events

Please increase the max size of incoming grpc messages to 16Mb (that is Flow's limit), or make it a configurable parameter.

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