-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Don't write error response when it's already been written #17551
Conversation
Thanks Georgios for a super fast fix, which is also simple, hence even I can approve it :-) |
It might be a dumb question but why do we have an error in the first place given the OP is just clicking around? |
@gsmet, Hi Guillaume, the devconsole handlers are implemented as Vert.x handlers, it may explain it |
@gsmet see for example here: https://quarkus.io/guides/dev-ui#advanced-usage-adding-actions |
It seems like Netty might close a Channel and cause this. |
Yeah. For me, that looks very very suspicious. I wouldn't expect Netty to throw random errors after a few simple GETs. |
That may or may not be true to be honest. I'll look a little more, but I doubt there is an actual problem here and even if there is, there is likely very little we can do about it |
We already had something similar fixed before: https://github.com/quarkusio/quarkus/pull/13060/files |
Well, I'm not saying it would be our own bug to fix, it might be an issue elsewhere. But I fail to see how this could be a normal behavior. Let's not merge this too fast and wait for @stuartwdouglas to have a look if he can. |
See my latest comment. It's only happens in web sockets (which the DevUI uses) and in any case this fix should be in place anyway |
Makes sense, perhaps removing |
Sure yeah, done :) |
...ions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/QuarkusErrorHandler.java
Show resolved
Hide resolved
Look forward to rebasing my Keycloak Devservices PR :-), |
Same issue just happened again using Quarkus 2.1.0-FINAL, opening Swagger
|
The original failure that Vertx had captured and was trying to be handled by
QuarkusErrorHandler
wasio.netty.channel.StacklessClosedChannelException
Relates to: #17548