4,998 questions
0 votes
0 answers
16 views
Netty Socket Channel Distribution to Worker Threads [closed]
I have a Netty application with below configuration 1 Boss Thread 96 Worker Threads 5000 Netty socket connections (These connections are permanent unless the application is down or any network dis-...
0 votes
1 answer
44 views
Spring WebFlux: updating SSL certificate
My application uses the Spring Cloud Gateway so the stack is Spring + WebFlux. When the application starts it use the SSL certificate from the file. But after few weeks the external system is updating ...
0 votes
0 answers
69 views
Netty ClientTransport.proxyWithSystemProperties() "early resolve" proxy address causing problem when proxy is unavailable but becomes available later
We are using Spring Boot 3.5.6 and using Netty to call a downstream HTTP system. We create HttpClient and use proxyWithSystemProperties() to let netty create ProxyProvider using Java System Properties ...
0 votes
0 answers
69 views
Netty writeAndFlush fails: io.netty.util.IllegalReferenceCountException: refCnt: 0
I am having a problem with netty writeAndFlush failing. Specifically, io.netty.util.IllegalReferenceCountException: refCnt: 0 is thrown. Here is the stack trace: 12:49:04.062 [Timer-0] ERROR com....
0 votes
0 answers
63 views
Netty Cleanup Spring Boot Tomcat WAR
We deploy Spring Boot apps onto a dedicated Tomcat via WAR File. In our Tomcat logs (on shutdown) we regularly see messages like This is very likely to create a memory leak followed by some io.netty....
2 votes
0 answers
159 views
Resource Leak in R2DBC after spring boot upgrade
Since updating our project from Spring Boot 3.1.3 to Spring Boot 3.4.3, we have come across an unusual problem that we have not seen before. We have a findAll() method that gets a Flux (of type Platz)....
0 votes
0 answers
100 views
How to configure HTTP forward proxy (instead of CONNECT tunnel)?
I'm trying to configure an HTTP proxy (without CONNECT tunnelling support) for my Spring WebFlux WebClients (based on Netty HttpClient) but without success (403 HTTP status code). As explained in the ...
1 vote
0 answers
67 views
What is the robust pattern for releasing a shared ByteBuf written to multiple channels, especially with staggered writes and potential failures?
I'm trying to implement a high-performance fan-out (broadcast) service in Netty where I need to write the same, immutable ByteBuf to multiple channels. To avoid memory copies, I'm using ...
2 votes
1 answer
101 views
Data corruption with high throughput
I wrote a small client-server system with Netty. The client(s) send messages to a server, and the server responds with an ACK once the message is processed. This ACK contains an ever incrementing ...
0 votes
1 answer
94 views
Issue with GRPC with Netty NIO threads
Hello I am facing some issues while Integrating Grpc Client to use Netty's NIO for grpc call and handling callbacks, i want application threads to be free from tracking the status of grpc calls and ...
0 votes
1 answer
161 views
Issue with Swagger UI and Spring WebFlux not working when netty enabled
I am trying to enable swagger enable with my spring boot application, that uses WebFlux and I disabled tomcat, and add netty, in Spring Boot 3.4.4, but it is not working for me (I saw this post: ...
0 votes
0 answers
23 views
Why does reactor.netty dynamically add and remove IdleTimeoutHandler
I have implemented an http1 server based on Netty, but I don't know how to set the HTTP keep alive time. So I referred to the implementation code of reactor.netty, but I found that reactor.netty ...
0 votes
1 answer
106 views
Error NoClassDeffoundError: jakarta/servlet/ServletException with Spring Boot 3.4 and spring-boot-starter-webflux
I have the following configuration: spring-boot-starter-parent: 3.4.7 spring-boot-starter-web (excluding spring-boot-starter-tomcat in order to have netty instead Tomcat) spring-boot-starter-webflux` ...
0 votes
0 answers
68 views
Unable to load tcnatve openssl in native image
I have a Spring Boot webflux app, running Netty. When enabling SSL performance hurts more than expected, and I want to check if using native OpenSSL (netty-tcnative) helps. I think I have everything ...
0 votes
0 answers
191 views
io.netty.channel.unix.Errors$NativeIoException: Connection reset by peer in Spring Cloud Gateway with WebFlux routing to GraphQL backend in Kubernetes
I'm experiencing a Connection reset by peer exception in my Spring Boot 3.4.4 application that uses Spring Cloud Gateway with WebFlux to serve a web application. The entire stack is deployed in a ...