-
Notifications
You must be signed in to change notification settings - Fork 63
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
blaze-server error logs on shutdown #672
Comments
This is not fatal, but is unacceptably noisy. I'd still like to squash this. |
@agourlay Doesn't We had the same issue in our tests with a WebSockets http4s server and it went away with the above option. |
@igor-ramazanov I just gave it a try and you are correct; the stacktraces are now gone! Thanks a lot for the tip 🙇 |
A long, long time ago, nio2 didn't do as well as nio1 on benchmarks. I don't remember it being hugely different, but it's the reason that nio1 remained the default. If you're in a high load situation, it may be worth a round of performance testing. |
@rossabaker thanks a lot for adding this important precision 👍 Performance is not critical for my use case therefore I am fine switching to |
Note that |
The switched to nio2 was motivated by a noisy stacktrace with nio1 https://github.com/http4s/http4s/issues/2383 However nio2 is being deprecated for 0.22 and there is no replacement http4s/http4s#4572 As a result we switch back to nio1 and hope the stacktrace won't be too noisy
We do encounter this issue with http4s 0.21.23. It would be very much appreciated if it is picked up at some point. :) |
This should have been fixed in 0.21.24. Please try with that, reopen if not. |
I think it is still present in 0.21.24
|
Seems like its still present in |
Also present in
|
Recently was did http4s/http4s#6198. So we hope the next releases will reduce some error logs. Especially about |
Using
0.20.0-M5
blaze-server via theBlazeServerBuilder
.On shutdown I can find the following entries in my logs.
This happens during an integration test for which the server is shutdown while the client side is still running (blaze-client).
The server is running with the default configuration.
The text was updated successfully, but these errors were encountered: