Error - Unable to join cluster via dgraphzero

I installed dgraph and I am not able to get it to work. I am using the code from latest master

$ dgraph zero --port_offset -2000

Setting up grpc listener at: 0.0.0.0:5080
Setting up http listener at: 0.0.0.0:6080
2017/12/18 13:28:11 node.go:248: Found hardstate: {Term:5 Vote:1 Commit:13 XXX_unrecognized:[]}
2017/12/18 13:28:11 node.go:260: Group 0 found 13 entries
2017/12/18 13:28:11 raft.go:400: Restarting node for dgraphzero
2017/12/18 13:28:11 raft.go:567: INFO: 1 became follower at term 5
2017/12/18 13:28:11 raft.go:315: INFO: newRaft 1 [peers: [], term: 5, commit: 13, applied: 0, lastindex: 13, lastterm: 5]
Running Dgraph zero...
2017/12/18 13:28:11 node.go:127: Setting conf state to nodes:1
2017/12/18 13:28:14 raft.go:749: INFO: 1 is starting a new election at term 5
2017/12/18 13:28:14 raft.go:580: INFO: 1 became candidate at term 6
2017/12/18 13:28:14 raft.go:664: INFO: 1 received MsgVoteResp from 1 at term 6
2017/12/18 13:28:14 raft.go:621: INFO: 1 became leader at term 6
2017/12/18 13:28:14 node.go:301: INFO: raft.node: 1 elected leader 1 at term 6

and

$ dgraph server --memory_mb 4048 --zero localhost:5080

2017/12/18 13:28:56 groups.go:94: Current Raft Id: 0
2017/12/18 13:28:56 gRPC server started.  Listening on port 9080
2017/12/18 13:28:56 HTTP server started.  Listening on port 8080
2017/12/18 13:28:56 worker.go:99: Worker listening at address: [::]:7080
2017/12/18 13:28:56 pool.go:167: Echo error from localhost:5080. Err: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (12 vs. 4294967296)
2017/12/18 13:28:56 pool.go:118: == CONNECT ==> Setting localhost:5080
2017/12/18 13:28:56 groups.go:110: Error while connecting with group zero: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (16 vs. 4294967296)
2017/12/18 13:28:56 groups.go:110: Error while connecting with group zero: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (16 vs. 4294967296)
2017/12/18 13:28:56 groups.go:110: Error while connecting with group zero: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (16 vs. 4294967296)
2017/12/18 13:28:56 groups.go:110: Error while connecting with group zero: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (16 vs. 4294967296)
2017/12/18 13:28:57 groups.go:110: Error while connecting with group zero: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (16 vs. 4294967296)
2017/12/18 13:28:57 groups.go:110: Error while connecting with group zero: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (16 vs. 4294967296)
2017/12/18 13:28:59 groups.go:110: Error while connecting with group zero: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (16 vs. 4294967296)
2017/12/18 13:29:02 groups.go:110: Error while connecting with group zero: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (16 vs. 4294967296)
2017/12/18 13:29:06 pool.go:167: Echo error from localhost:5080. Err: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (12 vs. 4294967296)
2017/12/18 13:29:09 groups.go:110: Error while connecting with group zero: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (16 vs. 4294967296)
2017/12/18 13:29:16 pool.go:167: Echo error from localhost:5080. Err: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (12 vs. 4294967296)
2017/12/18 13:29:21 Unable to join cluster via dgraphzero

@avi: You need to update your grpc. This is an issue with old version of grpc.

That worked, Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.