Skip to content

Error: Received message larger than max #22

@tkdave

Description

@tkdave

We are getting an error in the JS client using grpc
“Received message larger than max (4194538 vs. 4194304)“.

I noticed that this limitation was addressed in the golang client.
hypermodeinc/dgraph#396

Can we open this up on the JS client as well?

Looks like the ability to pass option to the client was added 5 days ago.
f3bde42

Wondering if I can pass an option in like this:
grpc/grpc#8098

Do these options flow through to the grpc client, or is it a different set of options?

We'd like to be able to do something like this:

  const clientStub = new DgraphClientStub(
    server, 
    credentials.createInsecure(), 
    {'grpc.max_receive_message_length': 1024 * 1024 * 1024}
  )

(updated with working config setting)

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