We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
giganto
--ca-certs
I'm experiencing a panic when running giganto version 0.21.0-alpha.2 (commit b8756ed) without providing the --ca-certs option.
Steps to reproduce:
giganto -c config.toml --cert tests/certs/node1/cert.pem --key tests/certs/node1/key.pem
thread 'main' panicked at src/publish.rs:73:34: server configuration error with cert, key or root: no root trust anchors were provided
Config file:
My config.toml file contains the following:
config.toml
log_dir = "log" export_dir = "export" data_dir = "data"
Stack backtrace:
Running with RUST_BACKTRACE=1 environment variable produces the following stack backtrace:
RUST_BACKTRACE=1
Stack backtrace: 0: std::backtrace::Backtrace::create 1: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from 2: giganto::server::config_server 3: giganto::main::{{closure}} 4: tokio::runtime::runtime::Runtime::block_on 5: giganto::main 6: std::sys::backtrace::__rust_begin_short_backtrace 7: std::rt::lang_start::{{closure}} 8: std::rt::lang_start_internal 9: _main stack backtrace: 0: _rust_begin_unwind 1: core::panicking::panic_fmt 2: core::result::unwrap_failed 3: giganto::main::{{closure}} 4: tokio::runtime::runtime::Runtime::block_on 5: giganto::main note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Expected behavior:
I expect giganto to handle the absence of the --ca-certs option more gracefully, perhaps by providing a more informative error message.
The text was updated successfully, but these errors were encountered:
Add 'required' option for error if --ca-certs is missing
1686695
Close: #831
required
ce5ebd3
kimhanbeom
Successfully merging a pull request may close this issue.
I'm experiencing a panic when running
giganto
version 0.21.0-alpha.2 (commit b8756ed) without providing the--ca-certs
option.Steps to reproduce:
giganto
with the following command:Config file:
My
config.toml
file contains the following:Stack backtrace:
Running with
RUST_BACKTRACE=1
environment variable produces the following stack backtrace:Expected behavior:
I expect
giganto
to handle the absence of the--ca-certs
option more gracefully, perhaps by providing a more informative error message.The text was updated successfully, but these errors were encountered: