Error unclear when server inet is "[::1]:8080" in docker
mjarkk opened this issue · comments
Mark Kopenga commented
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:
Lines 7 to 12 in b666b27