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

Error unclear when server inet is "[::1]:8080" in docker #113

Open
mjarkk opened this issue Mar 8, 2022 · 0 comments
Open

Error unclear when server inet is "[::1]:8080" in docker #113

mjarkk opened this issue Mar 8, 2022 · 0 comments

Comments

@mjarkk
Copy link

mjarkk commented Mar 8, 2022

When i start the docker with the example config i get get error:

...
thread 'vigil-responder' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 99, kind: AddrNotAvailable, message: "Address not available" }', src/responder/manager.rs:70:6
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

After some debugging i discovered i needed to change

[server]
inet = "[::1]:8080"

To:

[server]
inet = "0.0.0.0:8080"

But it took me very long to discover what exactly was wrong as the error is unclear.
It would be nice if the error message showed some more context to which line is incorrect.

This address is also used in the example config and i expect i can copy that to get started:

vigil/config.cfg

Lines 7 to 12 in b666b27

[server]
log_level = "debug"
inet = "[::1]:8080"
workers = 4
reporter_token = "REPLACE_THIS_WITH_A_SECRET_KEY"

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

1 participant