-
-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Description
Following the Docker Quickstart, I forgot to create a log stream.
When trying to ingest some logs, I would expect a response along the lines of HTTP 404, but instead the HTTP worker panics:
thread 'actix-rt|system:0|arbiter:0' panicked at 'called `Result::unwrap()` on an `Err` value: StreamMetaNotFound("demo")', server/src/handlers/http/ingest.rs:99:37
stack backtrace:
0: rust_begin_unwind
at /rustc/fc594f15669680fa70d255faec3ca3fb507c3405/library/std/src/panicking.rs:575:5
1: core::panicking::panic_fmt
at /rustc/fc594f15669680fa70d255faec3ca3fb507c3405/library/core/src/panicking.rs:64:14
2: core::result::unwrap_failed
at /rustc/fc594f15669680fa70d255faec3ca3fb507c3405/library/core/src/result.rs:1791:5
3: parseable::handlers::http::ingest::push_logs::{{closure}}
4: actix_web::handler::handler_service::{{closure}}::{{closure}}
5: <actix_web::resource::Resource<T> as actix_web::service::HttpServiceFactory>::register::{{closure}}::{{closure}}
6: <actix_web::scope::Scope<T> as actix_web::service::HttpServiceFactory>::register::{{closure}}::{{closure}}
7: <actix_web::scope::Scope<T> as actix_web::service::HttpServiceFactory>::register::{{closure}}::{{closure}}
8: <actix_web_httpauth::middleware::AuthenticationMiddleware<S,F,T> as actix_service::Service<actix_web::service::ServiceRequest>>::call::{{closure}}
9: <actix_web::scope::Scope<T> as actix_web::service::HttpServiceFactory>::register::{{closure}}::{{closure}}
10: <actix_web_prometheus::MetricsResponse<S,B> as core::future::future::Future>::poll
11: <actix_web::middleware::logger::LoggerResponse<S,B> as core::future::future::Future>::poll
12: <actix_web::middleware::compress::CompressResponse<S,B> as core::future::future::Future>::poll
13: <actix_cors::middleware::CorsMiddleware<S> as actix_service::Service<actix_web::service::ServiceRequest>>::call::{{closure}}
14: actix_http::h1::dispatcher::InnerDispatcher<T,S,B,X,U>::poll_response
15: <actix_http::h1::dispatcher::Dispatcher<T,S,B,X,U> as core::future::future::Future>::poll
16: <actix_http::service::HttpServiceHandlerResponse<T,S,B,X,U> as core::future::future::Future>::poll
17: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut
18: tokio::runtime::task::core::Core<T,S>::poll
19: tokio::runtime::task::harness::Harness<T,S>::poll
20: tokio::task::local::LocalSet::tick
21: std::thread::local::LocalKey<T>::with
22: <core::pin::Pin<P> as core::future::future::Future>::poll
23: tokio::runtime::scheduler::current_thread::Context::enter
24: tokio::macros::scoped_tls::ScopedKey<T>::set
25: tokio::runtime::runtime::Runtime::block_on
Metadata
Metadata
Assignees
Labels
No labels