-
Notifications
You must be signed in to change notification settings - Fork 96
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
Blocking call during SSL handshake in WebFlux/ReactorNetty TcpServer #42
Comments
Here's the integration I created to workaround the above error (and another one in netty) for now... class NettyBlockHoundIntegration implements BlockHoundIntegration {
@Override
public void applyTo(BlockHound.Builder builder) {
builder.allowBlockingCallsInside("sun.security.ssl.SSLHandshake", "consume")
.allowBlockingCallsInside("io.netty.util.concurrent.GlobalEventExecutor", "addTask");
}
} Would still like to get this integration or something similar available "by default" |
Hi @philsttr! I submitted reactor/reactor-netty#750 some time ago. I know that @violetagg did some fixes already. Perhaps we can continue the discussion there? We could whitelist them in reactor-netty's BlockHound integration if we decide to whitelist |
👍 we have already initial integration in Rector Netty 0.9.0.M2 |
Awesome! Although, I didn't see an |
I would say that it should be fixed. See this issue for a good investigation on the topic: |
Hi Stack trace: |
I believe this should be reported as an issue in reactor-netty: |
@urferr reported this as reactor/reactor-netty#906 |
I enabled BlockHound on a spring boot 2.1.6, webflux, reactor netty server for which I want to run integration tests against. Unfortunately, I immediately ran into the blocking call below when connecting to it over SSL.
I honestly don't think there's anything that can be done to prevent that blocking call. (or is there?)
So, I need to configure a
BlockHoundIntegration
that allows this call. It seems like this would be a fairly frequently encountered use case, so it would be nice if the integration was automatically provided/discovered. Where should the integration be provided? BlockHound, reactor-netty? webflux? And which method would you recommend whitelisting?The text was updated successfully, but these errors were encountered: