Skip to content

[v1.2.0-rc1] alpha fails to connect to zero: ] Connection lost with 127.0.0.1:5080. Error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, #4580

@marvin-hansen

Description

@marvin-hansen

What version of Dgraph are you using?

Dgraph version : v1.2.0-rc1
Dgraph SHA-256 : b0087ce7f8987e1d565c9c9097451d86c2c40b97c90bd7c6a7a1f300ef660c4d
Commit SHA-1 : 1b83472
Commit timestamp : 2020-01-15 01:36:25 +0530
Branch : HEAD
Go version : go1.13.5

Docker image from Dockerhub

Have you tried reproducing the issue with the latest release?

Yes, I tried the master branch with the commit from Jan/14 and it yields the same problem. (1b83472)

The previous release 1.1 is unaffected.

What is the hardware spec (RAM, OS)?

HP Spectre, i7, 16GB memory

GKE / Kubernetes 4 vCPU / 8 GB memory

Steps to reproduce the issue (command/config used to run Dgraph).

  1. Start Zero:

docker run -it -p 5080:5080 -p 6080:6080 -v zero:/dgraph dgraph/dgraph:v1.2.0-rc1 dgraph zero --my=localhost:5080

  1. Start Alpha

docker run -it -p 7080:7080 -p 8080:8080 -p 9080:9080 -v server1:/dgraph dgraph/dgraph:v1.2.0-rc1 dgraph alpha --lru_mb=1024 --zero=127.0.0.1:5080 --my=127.0.0.1:7080

docker run -it -p 7081:7081 -p 8081:8081 -p 9081:9081 -v server2:/dgraph dgraph/dgraph:v1.2.0-rc1 dgraph alpha --lru_mb=1024 --zero=127.0.0.1:5080 --my=127.0.0.1:7081

  1. Start Ratel:

docker run -it -p 8000:8000 dgraph/dgraph:v1.2.0-rc1 dgraph-ratel

Expected behavior

Alpha nodes should connect to running zero instance

Actual result

CONNECTING to 127.0.0.1:5080
W0115 11:54:01.821226 1 pool.go:254] Connection lost with 127.0.0.1:5080. Error: rpc error:
code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection > error: desc = "transport: Error while dialing dial tcp 127.0.0.1:5080: connect: connection refused"

Detailed log attached!

alpha.log
zero.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/acceptedWe accept to investigate/work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions