Closed so-schen closed 1 week ago
could you create reproducible example? I'd like to look
oh.. sorry just found out it is our endpoint implementation return an error
But the tag is empty string in this case, would be good that the tag can be shown correctly in below trace
31058 [2024-09-18T16:26:06.488806Z+00:00] TRACE ntex::http::h1::dispatcher: : Sending response:
log::trace!(
"{}: Sending response: {:?} body: {:?}",
self.io.tag(),
msg,
body.size()
);
I see. you can set tag with https://docs.rs/ntex/latest/ntex/server/struct.ServerBuilder.html#method.set_tag, but it is not exposed from web::server. will fix that
starting ntex 2.5, it is possible to set server tag
I am trying to investigate the reason behind why ntex reported internal server error in below context. From the traces, I cannot understand what is the error trigger ntex to report it. After this failure, I check the endpoint using curl, it responds OK. This happen when running tests using python reqwest.