exdgraph icon indicating copy to clipboard operation
exdgraph copied to clipboard

Flow Control Error - Stream Reset By Server

Open erikjmiller opened this issue 6 years ago • 4 comments
trafficstars

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.

erikjmiller avatar Dec 06 '18 15:12 erikjmiller

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

ospaarmann avatar Dec 07 '18 15:12 ospaarmann

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

ospaarmann avatar Mar 29 '19 11:03 ospaarmann

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.

pedronauck avatar Sep 19 '19 00:09 pedronauck

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

ospaarmann avatar Sep 19 '19 06:09 ospaarmann