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

Passes up an error if we fail to get an address #130

Merged
merged 1 commit into from
Aug 7, 2017
Merged

Conversation

slackpad
Copy link
Contributor

@slackpad slackpad commented Aug 7, 2017

This fixes hashicorp/consul#3312.

@slackpad slackpad merged commit ea4ef7f into master Aug 7, 2017
@slackpad slackpad deleted the propagate-error branch August 7, 2017 23:34
@junjies
Copy link

junjies commented Aug 8, 2017

hello, I get error like this, could you anyone help ?

sudo /usr/local/bin/consul agent -config-dir /etc/consul.d

==> WARNING: Expect Mode enabled, expecting 3 servers
==> Starting Consul agent...
==> Error starting agent: Failed to start Consul server: Failed to start LAN Serf: Failed to create memberlist: Could not set up network transport: ran out of tries to obtain an address

Thanks.

@slackpad
Copy link
Contributor Author

slackpad commented Aug 9, 2017

HI @junjies this change will propagate the error that's causing the issue up so it's visible. This should ship tomorrow in Consul 0.9.1. It's usually that Consul is unable to bind to the given port or interface.

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

Successfully merging this pull request may close these issues.

Propagate a better address error
3 participants