Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shell failed to keep connected to localhost:9333: 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:19333: connect: connection refused" #952

Closed
ijunaid8989 opened this issue May 6, 2019 · 1 comment

Comments

@ijunaid8989
Copy link

Sponsors SeaweedFS via Patreon https://www.patreon.com/seaweedfs

Describe the bug

root@Ubuntu-1804-bionic-64-minimal:~# /opt/go/bin/weed shell
I0506 09:55:37 10573 filer_server.go:103] Reading : Config File "security" Not Found in "[/root /root/.seaweedfs /etc/seaweedfs]"
I0506 09:55:37 10573 masterclient.go:60] shell failed to keep connected to localhost:9333: 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:19333: connect: connection refused"
I0506 09:55:37 10573 masterclient.go:97] shell failed to connect with master localhost:9333: 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:19333: connect: connection refused"
I0506 09:55:38 10573 masterclient.go:60] shell failed to keep connected to localhost:9333: 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:19333: connect: connection refused"
I0506 09:55:38 10573 masterclient.go:97] shell failed to connect with master localhost:9333: 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:19333: connect: connection refused"
I0506 09:55:39 10573 masterclient.go:60] shell failed to keep connected to localhost:9333: 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:19333: connect: connection refused"
I0506 09:55:39 10573 masterclient.go:97] shell failed to connect with master localhost:9333: 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:19333: connect: connection refused"
I0506 09:55:40 10573 masterclient.go:60] shell failed to keep connected to localhost:9333: 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:19333: connect: connection refused"
I0506 09:55:40 10573 masterclient.go:97] shell failed to connect with master localhost:9333: 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:19333: connect: connection refused"
I0506 09:55:41 10573 masterclient.go:60] shell failed to keep connected to localhost:9333: 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:19333: connect: connection refused"
I0506 09:55:41 10573 masterclient.go:97] shell failed to connect with master localhost:9333: 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:19333: connect: connection refused"

System Setup
Ubuntu 18.04
to start the shell

/opt/go/bin/weed shell

to start master filer

/opt/go/bin/weed -v=0 server -filer=true -ip=159.69.136.31 -dir=/storage/new_master -volume.max=3000 -volume.images.fix.orientation=false -pulseSeconds=5

Expected behavior
It should start the weed shell.

Additional context
All ports are allowed and no firewall is enabled while doing this.

@chrislusf
Copy link
Collaborator

weed shell -master="159.69.136.31:9333"

chrislusf added a commit that referenced this issue May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants