ospaarmann/exdgraph

Flow Control Error - Stream Reset By Server

erikjmiller opened this issue · 4 comments

I'm seeing this error when running a large mutation using Exgraph.mutation

{:error,
[
code: 2,
message: "{:stream_error, :flow_control_error, :"Stream reset by server."}"
]}

The payload is below.

dgraph_payload.txt

I'm running this dgraph version
Dgraph version : v1.0.10
Commit SHA-1 : 8b801bd7
Commit timestamp : 2018-11-05 17:52:33 -0800
Branch : HEAD

and elixir verision
Erlang/OTP 21 [erts-10.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1]
Elixir 1.7.3 (compiled with Erlang/OTP 20)

Erlang/OTP 21 [erts-10.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1]

Elixir 1.7.3 (compiled with Erlang/OTP 20)

My development machine is Ubuntu 18.04.

My guess is there is an issue with the size of the payload, but I'm not sure, totally new to dgraph.

Hi @erikmiller,

thank you for bringing this to my attention. I will investigate as soon as I find some time. If you have additional information please just collect it here.

Thanks 🚀
Ole

Hey @erikmiller,

could you try and see if you still have the same issue with the latest release https://github.com/ospaarmann/exdgraph/releases/tag/v0.2.0-beta.2 ?

Thanks,
Ole

It was happening the same here with v0.2.0-beta.3 @ospaarmann. I did a downgrade to v0.2.0-beta.2 and now it's working.

I'm also working on a new release. Could you try with that one? https://github.com/ospaarmann/exdgraph/tree/update_to_db_connection_2